Search
.Management Sciences
A. int
B. byte
C. char
D. bollean
Related Mcqs:
- Object which can store group of other objects is called___________________?
- A. Package B. Wrapper C. Java object D. Collection object...
- Which method of java is invoked by JVM to reclaim the inaccessible memory location ?
- A. reclaim() method B. finalize() method C. final() method D. both b and c...
- A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ?
- A. Declare the method with the keyword public. B. Declare the method with the keyword private. C. Do not declare the method with any accessibility modifiers. D. Declare the method with the keyword public and private....
- 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...
- The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } } ?
- A. Prints true B. Prints false C. Will not compile as boolean is not initialized D. Will not compile as boolean can never be static...
Recent Comments