Java Programming Basics Interview Questions - 1
Question: 1
What is dynamic binding (late binding)?
Binding refers to the linking of a procedure call to the code to be executed in response to the call.
Dynamic binding means that the code associated with a given procedure call is not known until the time of the call at run time.
Question: 2
What type of parameter passing does java support?
In Java the arguments are always passed by value.
Question: 3
What is heap in java?
Java is fully Object oriented language. It has two phases first one is Compilation phase and second one is interpretation phase.
The Compilation phase convert the java file to class file (byte code is only readable format of JVM) than interpretation phase interoperate the class file line by line and give the proper result.
Question: 4
Do multiple inheritance in java?
It’s not possible directly. That means this features is not provided by Java, but it can be achieved with the help of Interface.
By implementing more than one interface.
Question: 5
Can we declare a static variable inside a method?
No, static variables can’t be declared inside a method otherwise the class will not compile.
- 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
Dc generator questions and answers pdf More
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
Oracle Developer Interview Questions and Answers for Experienced More
1000+ Sentence Rearrangement Questions for Bank Exams More
100+ Vedic Civilization and Culture GK Questions & Answers 2020-21 More
GATE 2024-2025 ECE Study Material, Notes Pdf More
Famous Poets and Authors Gk Questions and Answers More