Top Java Objective Quiz

by: programinjava

Basic Java Interview Objective Question for Freshers

  1. 1

    ellipsis (…) in parameter list must be

  2. 2

    Which operator is used to allocate memory for array ?

  3. 3

    Is multipe inheritance allowed in java like ClassA extends ClassB,ClassC {some code}

  4. 4

    In line ' System.out.println("Hello World"); here 'out' is ?

  5. 5

    Which order is in Enum variables

  6. 6

    Just In Time is a compiler or interpreter in JVM ?

  7. 7

    What is output ? for (int i=0;1;i++) { System.out.println("Hello worlds"); break; }

  8. 8

    this reference varible is in each instance method

  9. 9

    Is it possible to make a function which is not a member of any class ?

  10. 10

    public class Main { public static void main(String args[]) { System.out.println(f1()); } public int f1() { return 5; } } What will be the output ?

  11. 11

    Which interface does java.util.Hashtable implement?

  12. 12

    main method can be overloaded ?

  13. 13

    Is it possible for a Superclass Variable Can Reference a Subclass Object

  14. 14

    Object Oriented Programming means ?

  15. 15

    protected member can be accessed

  16. 16

    super contain the reference of

  17. 17

    In java is it possible for switch statement to work

  18. 18

    Is 'main' predefined function or user defined function ?

  19. 19

    overloaded depende on

© 2020 Polarity Technologies
X
X

Invite Next Author

Write a short message (optional)

or via Email

Enter Quibblo Username

X

Report This Content