Groovy Quiz 4 | Data Types Reference video | Groovy Playground 1 Point for every correct answer | Let’s Get Started 1. Guess the output byte b = 10 println b 10 10.0 error 2. Guess the output println Byte.MIN_VALUE println Byte.MAX_VALUE -128 128 -128 127 -127 127 3. Guess the output long l = 100000L println l 100000 100000L error 4. Guess the output double d = 1000.002D println d 1000.002 1000.002D error 5. Guess the output char c = "ABC" println c ABC exception A 6. Guess the output def num = 10 println num.getClass().getName() java.lang.Integer java.lang.Byte java.lang.Number exception 7. Guess the output def num = (byte)10 println num.getClass().getName() java.lang.Integer java.lang.Byte exception Loading … 16 Share this:TwitterFacebookLinkedIn Related