• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

Entry level Java Programming Interview Questions and Answers

Document preview thumbnail
Preview 2 out of 8 pages

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?

Content preview

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?

Document information

Uploaded on
August 4, 2024
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Axpert
3.8
(127)
Sold
592
Followers
168
Items
29611
Last sold
3 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions