Advertisement
Guest User

What will it print?

a guest
Mar 11th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.07 KB | None | 0 0
  1. int a = 5;
  2. int b = 10;
  3. int c = 15;
  4.  
  5. int d = false ? a : b ?: c;
  6. print d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement