Top Java Objective Quiz

by: programinjava

Basic Java Interview Objective Question for Freshers

  1. 1

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

  2. 2

    Which order is in Enum variables

  3. 3

    Is 'main' predefined function or user defined function ?

  4. 4

    In java is it possible for switch statement to work

  5. 5

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

  6. 6

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

  7. 7

    ellipsis (…) in parameter list must be

  8. 8

    Which operator is used to allocate memory for array ?

  9. 9

    Object Oriented Programming means ?

  10. 10

    this reference varible is in each instance method

  11. 11

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

  12. 12

    Which interface does java.util.Hashtable implement?

  13. 13

    Just In Time is a compiler or interpreter in JVM ?

  14. 14

    main method can be overloaded ?

  15. 15

    protected member can be accessed

  16. 16

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

  17. 17

    super contain the reference of

  18. 18

    overloaded depende on

  19. 19

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

© 2020 Polarity Technologies
X
X

Invite Next Author

Write a short message (optional)

or via Email

Enter Quibblo Username

X

Report This Content