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
Is math an abstract class in java?
What is e in java?
Do you need to import math in java?
Can we pass a primitive type by reference in java? How
Why do we need variables?
Can a class extend more than one class?
How many bits is a float?
What is a singleton puppy?
Explain exception chaining in java?
Why generics are used in java?
Can we create more than one object singleton class?
what methods would you overwrite in java.lang.object class?
Write a program to solve producer consumer problem in java?
what r advatages of websphere? & how to deploy?
What are the three parts of a lambda expression?