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
Does java have extension methods?
How is java hashmap implemented?
Is final static java?
What do you understand by weak reference?
Is nullpointerexception checked or unchecked?
How garbage collection is done in java?
Why Java doesn’t support multiple inheritance?
What is nested class?
Define class?
What is the point of polymorphism java?
How do you avoid global variables?
What is a method declaration?
Does google use java?
What is collection class in java?
What is final keyword in java?