Methods that have same name, but different Parameter list and different definition known as_________________?
(A) Overriding
(B) Overloading
(C) Constructor
(D) none of these
Program which executes applet is known as________________?
(A) JVM
(B) virtual machine
(C) applet engine
(D) None of above
What will be output of following program? public class Test{public static void main(String[] args){byte b=127; b++; b++; System.out.println(b); } } ?
(A) 127
(B) -127
(C) 129
(D) -129
Size of float and double in Java is________________?
(A) 32 and 64
(B) 64 and 64
(C) 32 and 32
(D) 64 and 32
Automatic type conversion in Java takes place when________________?
(A) Two type are compatible and size of destination type is equal of source type.
(B) Two type are compatible and size of destination type is larger than source type.
(C) Two type are compatible and size of destination type is shorter than source type.
(D) All of the above
Interfaces helps in which type of inheritance ?
(A) Multiple inheritance
(B) Multilevel inheritance
(C) Hierarchical inheritance
(D) None of above
Super is the predefined_______________?
(A) Method
(B) Keyword
(C) Keyword and Method
(D) None of above
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];