Search Java Interview Questions
| 2158 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
|Interview Questions and Answers for 'Bsl information technology' - 1 question(s) found - Order By Newest|
|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 BSL Information Technology Data64|
|Why is String immutable in Java ?|
|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?|
|Why every object constructor automatically call super() in Object before its own constructors?|
|How can we run a java program without making any object?|
|What is the difference between Encapsulation and Abstraction?|
|Can we use both "this()" and "super()" in a constructor ?|
|What is the difference between final, finally and finalize() ?|
|What are the methods of Object Class ?|
| Which of the following can be marked static ?|
a. Methods , Variables and Initialization Blocks.
b. Methods , Variables , Initialization Blocks and Outer Classes and nested Classes.
c. Methods , Variables , Initialization Blocks and Outer Classes.
d. Methods , Variables , Initialization Blocks and nested Classes