Top 1000+ Java Interview Questions and Answers Pdf - 3
Question: 11
What is the difference between a break statement and a continue statement?
A break statement results in the termination of the statement to which it applies (switch, for, do or while).
A continue statement is used to end the current loop iteration and return control to the loop statement.
Question: 12
What are the secondary access modifiers?
Static, abstract, final, transient and volatile
Question: 13
What is shadowing?
Declaring the same variables of parent class in the subclass is known as shadowing.
Question: 14
Can an abstract class be final?
An abstract class may not be declared as final.
Question: 15
What modifiers can be used with a local inner class?
A local inner class may be final or abstract.
Related Questions
- 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
Recent Articles
GATE Chemical Engineering Study Materials, Notes 2024-2025 More
GATE Chemical Engineering Questions and Answers More
GATE 2024-2025 Question Paper Pdf Download More
Banking Awareness Questions 2024-2025 More
Computer Quiz Questions for Bank Exams More
Computer Quiz Questions for Bank Exams More
March-28-2024
| Meritnotes
GATE Chemical Engineering Questions and Answers More
March-27-2024
| Meritnotes
GATE 2024-2025 Question Paper Pdf Download More
March-26-2024
| Meritnotes
Banking Awareness Questions 2024-2025 More
March-25-2024
| Meritnotes
Computer Quiz Questions for Bank Exams More
March-24-2024
| Meritnotes
Computer Quiz Questions for Bank Exams More
March-24-2024
| Meritnotes
Trending Posts
Mahajanapadas and Magadha Empire MCQ Quiz Questions and Answers 2019 More
1000+ IBPS PO, SO, Clerk Aptitude Questions and Answers More
Physics Electricity and Magnetism MCQ | Objective Questions & Answers More
1000+ Numerical Aptitude Questions and Answers Pdf More
1000+ Ethiopian Bank Entrance Exam Papers with Answers Pdf More
100+ Probability Aptitude Questions and Answers More
August-28-2019
| Meritnotes
1000+ IBPS PO, SO, Clerk Aptitude Questions and Answers More
January-19-2023
| Meritnotes
Physics Electricity and Magnetism MCQ | Objective Questions & Answers More
August-28-2019
| Meritnotes
1000+ Numerical Aptitude Questions and Answers Pdf More
February-05-2023
| Meritnotes
1000+ Ethiopian Bank Entrance Exam Papers with Answers Pdf More
September-24-2022
| Meritnotes
100+ Probability Aptitude Questions and Answers More
September-02-2021
| Meritnotes