Java Objective Questions Answers -Chapter 1
-
57. Which is the predefined package
- Lang package
- io package
- util package
- All of above
- satisfaction is an inevitable organisational variable.
- job satisfaction and performance are directly and closely related.
- relationship between job satisfaction and performance is moderated by growth need.
- every organisation has few employees having weak growth need.
- high performance is essential for organisational effectiveness.
Answer :
Option
-
58. Runnable is
- Class
- Method
- Variable
- Interface
Answer :
Option D
-
59. Which method of the Applet class displays the result of applet code on screen
- run() method
- paint() method
- drawString() method
- main() method
Answer :
Option B
-
60. Execution of the program is always begins with
- Main method
- class contain main method
- parent class
- default package
Answer :
Option A
-
61. Which of the following statements about arrays is syntactically wrong
- arrayName[] p = new arrayName[5];
- arrayName p[5];
- arrayName[] p [];
- arrayName p[][] = new arrayName[2][];
Answer :
Option B
-
62. Which type of inheritance is not supported by java
- Single
- Multiple
- Mulilevel
- Hirarchical
Answer :
Option B
-
63. Converting a primitive type data into its corresponding wrapper class object instance is called
- boxing
- wrapping
- instantiation
- autoboxing
Answer :
Option D