Java Aptitude

Java MCQ

Java Practice MCQ 1

  1. Parent class of all the java class is

    A.

    B.

    C.

    D.

  2. Java is portable and platform independent because of _____________ and ___________ .

    A.

    B.

    C.

    D.

  3. Which of the following is true about instance variable?

    A.

    B.

    C.

    D.

  4. What is the latest version of java?

    A.

    B.

    C.

    D.

  5. String in java is a

    A.

    B.

    C.

    D.

  6. Wrapping up of data and function into a single unit called class is known as

    A.

    B.

    C.

    D.

  7. Using which collection class ensures insertion order of the element is maintained

    A.

    B.

    C.

    D.

  8. Which method is called before garbage is collected in java?

    A.

    B.

    C.

    D.

  9. How many instance of abstract class can be created?

    A.

    B.

    C.

    D.

  10. An Interface can ____________ an interface

    A.

    B.

    C.

    D.


Please Share this page