| | | | MCQ Tutorial - JAVA->Core JAVA | | | | 16.) What is the command to execute a java program? (Let the file name be myprogram.java)
| | Options are: | | A.) java myprogram.java
| | B.) javac myprogram
| | C.) java myprogram
| | D.) java myprogram.class
| | Correct Option: C | | | | | | | 17.) JAR stands for? | | Options are: | | A.) Java Application Runner
| | B.) Java Archive
| | C.) JAVA Runner
| | D.) Java Archive Runner
| | Correct Option: B | | | | | | | 18.) What are the pillars of OOPS concept? | | Options are: | | A.) Atomicity, Abstraction,Inheritance, Encapsulation & Polymorphism
| | B.) Atomicity, Inheritance, Encapsulation & Polymorphism
| | C.) Abstraction, Inheritance & Polymorphism
| | D.) Abstraction,Inheritance, Encapsulation & Polymorphism
| | Correct Option: D | | | | | | | 19.) ---------- is a name given to a variable, class or method. | | Options are: | | A.) Constant
| | B.) Modifier
| | C.) Reference
| | D.) Identifier
| | Correct Option: D | | | | | | | 20.) What is the numerical range of char? | | Options are: | | A.) -256 to 255
| | B.) 0 to 65535
| | C.) -32768 to 32767
| | D.) 0 to 32767
| | Correct Option: B | | | | | | | | | | | |