whst is encapsulation?when u encpsulate actually while
devoloping code?
Answer Posted / dhawal
Encapsulation is process of hiding data
for example if access specifier we are using for accessing
class is private then only that class object can access the
methods and variables in that class
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is java instanceof operator?
How many static init can you have?
What is an example of a constant variable?
What do you mean by chromounits in java8?
Is integer a class?
How do you create a first line indent?
What is array initialization in java?
How does the garbage collector works in java?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
When is the finalize() called?
What are the 6 mandatory procedures for iso 9001?
How do you declare an array that will hold more than 64KB of data?
What are the six ways to use this keyword?
What is use of set in java?
Can a variable be local and static at the same time?