java questions
The Java interpreter is used for the execution of the source code?
True
False
Ans: a.
On successful compilation a file with the class extension is created?
True
False
Ans: a.
The Java source code can be created in a Notepad editor?
True
False
Ans: a.
The Java Program is enclosed in a class definition?
True
False
Ans: a.
What declarations are required for every Java application?
A class and the main( ) method declarations.
What are the three OOPs principles and define them?
Encapsulation, Inheritance and Polymorphism are the three OOPs Principles.
What are the two parts in executing a Java program and their purposes?
Two parts in executing a Java program are:
Java Compiler and Java Interpreter.
The Java Compiler is used for compilation and the Java Interpreter is used for execution of the application.
What are the three OOPs principles and define them?
Encapsulation, Inheritance and Polymorphism are the three OOPs
Principles.
Encapsulation:
Is the Mechanism that binds together code and the data it manipulates, and keeps both safe from outside interference and misuse.
Inheritance:
Is the process by which one object acquires the properties of another object.
Polymorphism:
Is a feature that allows one interface to be used for a general class of actions.
What is a compilation unit?
Java source code file.
SOFTWARE COMPANIES
RESUME PREPRATION
INTERVIEW TIPS
C QUESTIONS
chapter 1
chapter 2
chapter 3
chapter 4
chapter 5
chapter 6
chapter 7
chapter 8
chapter 9
chapter 10
View All
DATA STRUCTURE
TECHNICAL QUESTIONS
JAVA
First chapter
Second chapter
Third chapter
Fourth chapter
Fifth chapter
Sixth chapter
Seventh chapter
Eight chapter
ninth chapter
Tenth chapter
eleventh chapter
Twevelth chapter
View All
FILE EXTENSION