Java Objective Questions Answers -Chapter 1

  • 57. Which is the predefined package

    1. Lang package
    2. io package
    3. util package
    4. All of above
    5. satisfaction is an inevitable organisational variable.
    6. job satisfaction and performance are directly and closely related.
    7. relationship between job satisfaction and performance is moderated by growth need.
    8. every organisation has few employees having weak growth need.
    9. high performance is essential for organisational effectiveness.
    Answer :

    Option

  • 58. Runnable is

    1. Class
    2. Method
    3. Variable
    4. Interface
    Answer :

    Option D

  • 59. Which method of the Applet class displays the result of applet code on screen

    1. run() method
    2. paint() method
    3. drawString() method
    4. main() method
    Answer :

    Option B

  • 60. Execution of the program is always begins with

    1. Main method
    2. class contain main method
    3. parent class
    4. default package
    Answer :

    Option A

  • 61. Which of the following statements about arrays is syntactically wrong

    1. arrayName[] p = new arrayName[5];
    2. arrayName p[5];
    3. arrayName[] p [];
    4. arrayName p[][] = new arrayName[2][];
    Answer :

    Option B

  • 62. Which type of inheritance is not supported by java

    1. Single
    2. Multiple
    3. Mulilevel
    4. Hirarchical
    Answer :

    Option B

  • 63. Converting a primitive type data into its corresponding wrapper class object instance is called

    1. boxing
    2. wrapping
    3. instantiation
    4. autoboxing
    Answer :

    Option D

Please Like Us

disawar satta king