Menu
Topics Index
...
`

Session 5 Test has these questions


Java compilation and execution

Identify the incorrect statement about compilation and execution of java programs
A. javac helps in compiling the java program and creates the .class files
B. java runs the programs using the bytecode in .class files
C. java runs the programs using the source code in .java files
D. javac is in the JDK package and java is in the JRE package



JDK JRE JVM and JIT

Order the following from smallest entity to the largest entity.
  • move JVM
  • move JIT
  • move JRE
  • move JDK



JDK and JRE

What is JDK and what is JRE?
A. JDK is Java Development Knowledge and JRE is Java Runtime Executor
B. JDK is Java Development Knowledge and JRE is Java Runtime Environment
C. JDK is Java Development Kit and JRE is Java Runtime Environment
D. None of the above



Features of Java SE 7

Which of the following features is not included in Java SE 7
A. String can control a switch statement
B. Binary literals, Underscores in numeric literals
C. static import
D. an expanded try statement called try-with-resources
E. Fork/Join Framework



Evolution Of Java

Identify the incorrect statement about evolution of java
A. Java has released 8 versions till now including the initial version and the latest version of Java is Java SE 7
B. Generics, Annotations, Autoboxing - Auto unboxing, Enumerations, Enhanced for-each style for loop were implemented in J2SE 5 (1.5)
C. Sun Microsystems, Inc released the all the versions from 1.0 to latest version Java SE 7 (1.7).
D. String can control a switch statement, Binary literals, Underscores in numeric literals, an expanded try statement called try-with-resources were introduced in Java SE 7



© meritcampus 2019

All Rights Reserved.

Open In App