Java Objective Questions Answers -Chapter 1

  • 29. Can we access private class outside the package

    1. Yes
    2. No
    Answer :

    Option B

  • 30. In Runnable, many threads share the same object instance

    1. True
    2. False
    Answer :

    Option A

  • 31. In java, gc() method is available in which package

    1. java.lang package
    2. java.util package
    3. java.awt package
    4. java.io package
    Answer :

    Option A

  • 32. Process of creating exact copy of the existing object is called

    1. cloning
    2. overloading
    3. overriding
    4. coping
    Answer :

    Option A

  • 33. What do you mean by javap

    1. java compiler
    2. java Interpreter
    3. java Disassemble
    4. java debugger
    Answer :

    Option C

  • 34. Methods that have same name, but different Parameter list and different definition known as

    1. Overriding
    2. Constructor
    3. Overloading
    4. none of these
    Answer :

    Option C

  • 35. what is jdb

    1. java compiler
    2. java Interpreter
    3. java Disassemble
    4. java debugger
    Answer :

    Option D

Please Like Us

disawar satta king