Java Interview Questions and Answers for Experienced Pdf - 1
Question: 1
What is a Java Virtual Machine?
A Java Virtual Machine is a runtime environment required for execution of a Java application.
Each Java application runs inside a runtime instance of some concrete implementation of abstract specifications of JVM.
It is JVM which is crux of platform independent nature of the language.
Question: 2
Why java does not support pointers?
Because pointers are unsafe, Java uses reference types to hide pointer and programmers feel easier to deal with reference types without pointers.
Question: 3
What is encapsulation?
Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse.
Question: 4
What is polymorphism?
Polymorphism is the feature that allows one interface to be used for general class actions.
Polymorphism is the feature of OOPs. One interfaces multiple implementations.
Designing a generic interface for a group of related activities.
This helps reduce. Complexity by allowing the same interface to be used to specify a general class of action.
Polymorphism is achieved in a class by method overloading.
Run time Polymorphism is achieved in a class hierarchy by method overriding.
Question: 5
What is the purpose of the runtime class?
The purpose of the Runtime class is to provide access to the Java runtime system.
- Java Interview Questions and Answers
- Top 1000+ Java Interview Questions and Answers Pdf
- Top 500+ Advanced Java Interview Questions 2020-2021
- Java Interview Questions and Answers for Freshers Pdf
- Java Interview Questions and Answers for Experienced Pdf
- Java Programming Basics Interview Questions
- Java OOPS Interview Questions for 3 years experienced
- Basic Java Programs Asked in Interview with Answers Pdf
- Java Programming Interview Questions and Answers
- C | C++ | Java Interview Questions and Answers
Electromagnetic Induction Questions & Answers Pdf More
A.C. Basics and Networks Quiz Questions & Answers Pdf More
Signals and Systems Quiz Questions and Answers Pdf More
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
100+ Reconstruction of Sentence Questions for CDS/NDA Exam More
Best 100+ SQL Interview Questions and Answers 2020-21 More
C++ Technical Interview Questions and Answers More
100+ RRB NTPC General Awareness Questions and Answers More
Computer Awareness MCQS PDF for Bank PO, SO, Clerk Exams More