CORRECT Answers
Java source file extension is - CORRECT ANSWER - .java
Java is an interpreted language - CORRECT ANSWER - True
Drawback of C programming language - CORRECT ANSWER - Extension ability of code
is hard
Not platform independent
Complexity increases as program grows
Innovation and development of new programming languages happens for two reasons: -
CORRECT ANSWER - To adapt to changing environment and uses
To implement refinements and improvements in the art of programming
Each bytecode instruction is translated into machine code at the time of execution - CORRECT
ANSWER - True
JAVA compiler javac takes your source file as input file to be compiled and generates _____ file.
- CORRECT ANSWER - Bytecode file
Java enables the creation of cross-platform programs by compiling into an intermediate
representation called Java bytecode - CORRECT ANSWER - True
Problem with both C and C++ is - CORRECT ANSWER - Not secure as JAVA
Memory management is not automatic
Platform dependent language
, Powerful features of C programming language are - CORRECT ANSWER - Efficient
Powerful
Structured language
Easy to learn
Advantages of C++ over C - CORRECT ANSWER - 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. - CORRECT ANSWER -
Class loader, bytecode verifier, Just-in-time compiler
JAVA language was initially called as - CORRECT ANSWER - Oak
JAVA compiler javac takes your source file as input file to be compiled and generates ____ file. -
CORRECT ANSWER - 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) - CORRECT ANSWER - J2SE
Java edition used for developing applications for small memory constrained devices, such as cell
phones, pagers - CORRECT ANSWER - J2ME