Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. There are 2 reasons for it.|
1. Usage of Primitive types - Though Java provides classes for the primitive data types but as the usage of primitives is permissible, its considered unpure OOP's language.
2. Usage of Static members - Static members belong to the class and not objects and hence not considered fit for pure OOP's programming.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  oops  object oriented programming  object oriented language  primitive data types Asked in 2 Companies|
|Why is String immutable in Java ?|
|What are the difference between composition and inheritance in Java?|
| Explain OOPs |
Explain OOPs Principles
Explain OOPs Concepts
Explain OOPs features
Tell me something about OOPs
|What is the difference between Encapsulation and Abstraction?|
|What is the difference between final, finally and finalize() ?|
|What are different ways of object creation in Java ?|
|What are points to consider in terms of access modifier when we are overriding any method?|
|How can we run a java program without making any object?|
|What is Polymorphism in Java ?|
|Can we use both "this()" and "super()" in a constructor ?|