Java Quiz 1 – Beginners

Sharing is caring

Welcome to your Java Quiz 1 - Beginners

Which of the following is used to call the constructor of parent class?

If we add the elements (5,3,2,5,1) in an ArrayList, and loop though it to print the values, what will be the output?

Will this code compile :

Which of the following an intermediate operation in Stream API?

Which of the following maintains order of insertion as well as does not allow duplicate values?

What is the range of signed integer values which can be stored in a byte variable?

How many bits are required to store a variable of type ‘char’?

What is the bit size of float and double in Java?

Which of this is valid built-in Functional Interface from java.util.function?


Sharing is caring

Leave a Reply

Your email address will not be published. Required fields are marked *