Difference between Encapsulation and Abstraction
Answer Posted / srikanth
Data abstraction is one part of the data
encapsulation....that means data hiding...by achieving data
abstraction by
1)group of similar variables and methods is called
class...so one class variables and methods are hide to
another....
2)by using access specifiers
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we call thread start () twice?
What are the different types of inheritance in java?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
What do you mean by Function Overloading in java?
What does %4d mean in java?
Is a boolean variable?
Explain about the main() method in java?
What is arguments in java?
Can we clone singleton class in java?
What are the benefits of immutable objects?
What is passing value java?
What is a substitution variable?
Explain the difference between runnable and callable interface in java?
What are the ways to instantiate the class class?
What is the use of list in java?