ThePrismSolutions

ThePrismSolutions

Practice(TEST 1)

1 ) How many primitive data types are there in Java?





2 .) In Java byte, short, int and long all of these are





3 .) Size of int in Java is





4 .) The smallest integer type is ......... and its size is ......... bits.





5 .) Size of float and double in Java is





6 .) Automatic type conversion in Java takes place when





7 .) Which of the following automatic type conversion will be possible?





8. In Java arrays are





9 .) Which one of the following is a valid statement?





10 .) When you pass an array to a method, the method receives