java Test UPDATED ACTUAL Exam Questions and CORRECT
Answers
Advantages of C++ over C - Easy to learn
Helps to manage growing code - extension ability
Powerful
Efficient
Structured and object-oriented
Java virtual machine interprets your bytecode to machine understandable code on the target
CPU. It consists of three components to take care of this process. - Class loader, bytecode
verifier, Just-in-time compiler
JAVA language was initially called as - Oak
JAVA compiler javac takes your source file as input file to be compiled and generates ____ file. -
class extension file with filename the same as class name
Platform independent code
Bytecode file
Java edition used for developing Desktop based applications and networking applications (client
side-applets) - J2SE
Java edition used for developing applications for small memory constrained devices, such as cell
phones, pagers - J2ME
Java edition used for developing large-scale, distributed networking applications and Web-based
applications (server side-Java servlets and Java ServerPages) - J2EE
, Java is a strongly typed language - True
Each bytecode instruction is translated into machine code at the time of execution - True
Java bytecode can be executed on any system that has the Java Virtual Machine (JVM) which is
part of the JAVA Runtime Environment (JRE) - True
Full form of J2ME - Java 2 Platform, Micro Edition
J2SE - Java 2, Platform, Standard Edition
J2EE - Java 2, Platform, Enterprise Edition
Original motivation for developing JAVA programming language was - Platform independent
language
The same bytecodes can be executed on any platform containing a compatible JVM - True
_______ job is to ensure that bytecodes are valid and do not violate Java's security restrictions
i.e.unauthorized access. This feature helps to prevent Java programs arriving over the network
from damaging our system. - Bytecode verifier
Java supports six relational operators that are used to make comparisons: =, <, >, <=, >=, =! -
True
Java program starts and ends with in - Main()method
Bytecodes are machine language binary codes - False
Answers
Advantages of C++ over C - Easy to learn
Helps to manage growing code - extension ability
Powerful
Efficient
Structured and object-oriented
Java virtual machine interprets your bytecode to machine understandable code on the target
CPU. It consists of three components to take care of this process. - Class loader, bytecode
verifier, Just-in-time compiler
JAVA language was initially called as - Oak
JAVA compiler javac takes your source file as input file to be compiled and generates ____ file. -
class extension file with filename the same as class name
Platform independent code
Bytecode file
Java edition used for developing Desktop based applications and networking applications (client
side-applets) - J2SE
Java edition used for developing applications for small memory constrained devices, such as cell
phones, pagers - J2ME
Java edition used for developing large-scale, distributed networking applications and Web-based
applications (server side-Java servlets and Java ServerPages) - J2EE
, Java is a strongly typed language - True
Each bytecode instruction is translated into machine code at the time of execution - True
Java bytecode can be executed on any system that has the Java Virtual Machine (JVM) which is
part of the JAVA Runtime Environment (JRE) - True
Full form of J2ME - Java 2 Platform, Micro Edition
J2SE - Java 2, Platform, Standard Edition
J2EE - Java 2, Platform, Enterprise Edition
Original motivation for developing JAVA programming language was - Platform independent
language
The same bytecodes can be executed on any platform containing a compatible JVM - True
_______ job is to ensure that bytecodes are valid and do not violate Java's security restrictions
i.e.unauthorized access. This feature helps to prevent Java programs arriving over the network
from damaging our system. - Bytecode verifier
Java supports six relational operators that are used to make comparisons: =, <, >, <=, >=, =! -
True
Java program starts and ends with in - Main()method
Bytecodes are machine language binary codes - False