Entry level Java Programming Interview Questions and Answers
6 views 0 purchase
Course
Java Programming
Institution
Java Programming
What are the main features of Java?
~ 1. Object-oriented
2. Simple
3. Platform Independent
4. Secured
5. Robust
6. Portable
7. Multithreaded
8. Distributed
What are the fundamental principles of OOP?
~ 1. Inheritance
2. Abstraction
3. Polymorphism
4. Encapsulation
What is Inheritanc...
Entry level Java
Programming Interview
Questions and Answers
What are the main features of Java?
✓~ 1. Object-oriented
2. Simple
3. Platform Independent
4. Secured
5. Robust
6. Portable
7. Multithreaded
8. Distributed
What are the fundamental principles of OOP?
✓~ 1. Inheritance
2. Abstraction
3. Polymorphism
4. Encapsulation
What is Inheritance in Java?
, ✓~ Inheritance is one of the key principles of OOP. Through Inheritance, one class can
inherit the properties of another class. The class from which properties are inherited is called
a "super" class and the class to which properties are inherited is called a sub class.
What is Constructor Overloading and its use?
✓~ A class can have any number of constructors. These constructors will have different
lists of arguments. It is called constructor overloading. Constructor overloading provides
different ways to instantiate a class.
What is polymorphism in Java?
✓~ Polymorphism refers to any entity whether it is a method, constructor or an operator
which takes many forms or can be used for multiple tasks.
What is method overloading in Java?
✓~ When a class has more than one method with the same name but with different lists of
arguments.
What is method overriding?
✓~ When a super class method is modified in the sub class then it is called method
overriding.
Does Java support multiple inheritance?
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ExamArsenal. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.