Java MCQ Question with Answer 02

26
Created on By admin

Java MCQ Question with Answer 02

1 / 10

Q. What is garbage collection in the context of Java?

 

2 / 10

Q. Which one is a template for creating different objects ?

 

3 / 10

Q. Which symbol is used to contain the values of automatically initialized arrays?

 

4 / 10

Q. Which one is true about a constructor ?

 

5 / 10

Q. Which of these operators is used to allocate memory to array variable in Java?

 

6 / 10

Q. Which of these is not a bit wise operator?

 

7 / 10

Q. Which statement transfer execution to different parts of your code based on the value of an expression?

 

8 / 10

Q. Which of these is returned by Greater Than, Less Than and Equal To (i.e Relational) operator ?

 

9 / 10

Q. Modulus operator (%) can be applied to which of these?

 

10 / 10

Q. What feature of OOP has a super-class sub-class concept?

 

Your score is

The average score is 24%

0%

Leave a Reply

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