Page 1
JAVA Programming Latest Questions
and Correct Answers
object
Ans: capable of receiving messages, processing
information or data, and sending messages to another/a
class created at runtime
Class
Ans: a blueprint which describes methods, functions,
and constructors
Encapsulation
Ans: wrapping data in a single unit
Data Abstraction
Ans: hiding data; Hiding the irrelevant features and
exposing only the needed features of a particular object
Polymorphism
Ans: the same class name can have many different
functions
Inheritance
, Page 2
Ans: transferring the properties of one class to another
Platform Independence
Ans: Java's power comes from the ability to compile
code that can be read on any computer that has the
Java Virtual Machine installed.
Object-Oriented
Ans: Java is object-oriented, thus each program is built
from objects and classes.
Compiler/Interpreter
Ans: The Java compiler translates the original code into
bytecode so that any computer with JVM installed can
run the compiled code, regardless of platform or
operating system.
Robust
Ans: Before executing a program, JVM conducts an
overall checking of the program and gives reports of any
malfunction.Thus, JVM is a robust programming
language.
Memory Management
JAVA Programming Latest Questions
and Correct Answers
object
Ans: capable of receiving messages, processing
information or data, and sending messages to another/a
class created at runtime
Class
Ans: a blueprint which describes methods, functions,
and constructors
Encapsulation
Ans: wrapping data in a single unit
Data Abstraction
Ans: hiding data; Hiding the irrelevant features and
exposing only the needed features of a particular object
Polymorphism
Ans: the same class name can have many different
functions
Inheritance
, Page 2
Ans: transferring the properties of one class to another
Platform Independence
Ans: Java's power comes from the ability to compile
code that can be read on any computer that has the
Java Virtual Machine installed.
Object-Oriented
Ans: Java is object-oriented, thus each program is built
from objects and classes.
Compiler/Interpreter
Ans: The Java compiler translates the original code into
bytecode so that any computer with JVM installed can
run the compiled code, regardless of platform or
operating system.
Robust
Ans: Before executing a program, JVM conducts an
overall checking of the program and gives reports of any
malfunction.Thus, JVM is a robust programming
language.
Memory Management