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
Is char a method in java?
What is the difference between the size and capacity of a vector?
When we serialize an object does the serialization mechanism saves its references too?
What is difference between local variable and global variable?
What is the list interface?
Does A Class Inherit The Constructors Of Its Superclass?
Can a private method be declared as static?
What is a boolean flag in java?
Which collection is thread safe in java?
When would you use a static class?
Why are functions called methods in java?
How do you execute a thread in java?
What is the core java?
What is the difference between inheritance and encapsulation?
Write a program to print count of empty strings in java 8?