What is the difference between inheritance and encapsulation?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is a dynamic array java?

0 Answers  


Which oo concept is achieved by using overloading and overriding?

0 Answers  


Which number is denoted by leading 0x or 0x in java?

0 Answers  


What is a functional interface?

0 Answers  


What are the methods available in a class?

0 Answers  






Are there structures in java?

0 Answers  


What is the difference between method overriding and overloading?

0 Answers  


What are the two parts of a conditional statement?

0 Answers  


Do I need to import java.lang package any time? Why?

1 Answers  


long d =10;int i =0;i=d; /// is this possible? If d is very long number (10 digits or some thing) then?

3 Answers  


What is the instance of an object?

0 Answers  


What is an abstract class and what is it’s purpose?

0 Answers  


Categories