Search
.Management Sciences
Category: Java concepts and its programming
In java, gc() method is available in which package ?
0
A. java.io package
B. java.lang package
C. java.awt package
D. java.util package
Which of the following statements about arrays is syntactically wrong ?
A. arrayName[] p = new arrayName[5];
B. arrayName p[][] = new arrayName[2][];
C. arrayName[] p [];
D. arrayName p[5];
Java is a _______________language?
A. moderate typed
B. strogly typed
C. weakly typed
D. none of these
Process of creating exact copy of the existing object is called_______________?
A. overloading
B. overriding
C. cloning
D. coping
Smallest individual unit in java program is known as____________________?
A. token
B. string
C. literal
D. operator
Package of drawstring() method is _________________?
A. java.awt
B. javax.swing
C. java.applet
D. java.io
Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class?
A. abstract
B. static
C. volatile
D. final
Recent Comments