Session 4 Test has these questions
Java Features
What is the incorrect statement about Java?
A.
|
Java supports other features like Multi Threading, Object Oriented, Robust apart from Applets, Security and Portability
|
B.
|
Java is very complex and it will be difficult to learn even for experienced programmers in C/C++
|
C.
|
Java is Architecture Neutral, so it supports code longevity and portability
|
D.
|
Java is dynamic, which means small portions of the code can be modified while the program is running. We need not bring down the system, to make minor changes.
|
Java Features342
What is the incorrect statement about Java
A.
|
Java is robust and has strict type checking, good memory management and good exception handling framework
|
B.
|
Java is code compatible with C/C++. Any code written in C/C++, can be compiled using java with out any modification.
|
C.
|
Java is designed for distributed environment of the internet and can run programs using Remote Method Invocation (RMI).
|
D.
|
Java supports Multi Threading and has very good libraries to make the synchronization easier
|
Java Features343
Identify the incorrect statement about Java's features
A.
|
Java was developed from scratch and since it did not have any dependency, it arrived at a very good design
|
B.
|
Java uses JIT (Just In Time) Compiler to improve the run-time performance
|
C.
|
Java does not support multi threading and all tasks have to be run serially one after another.
|
D.
|
Memory Management in Java is totally done by the JVM and so mistakes with allocation and de-allocation of memory are completely avoided.
|
Bytecode
What is the incorrect statement about bytecode
A.
|
Java when compiles the source code, it converts it to bytecode
|
B.
|
JVM (Java Virtual Machine) is an interpreter of bytecode
|
C.
|
Bytecode is not portable and it needs to be compiled separately for each platform
|
D.
|
JVM offers a protected environment which helps in enhanced safety for the system
|