Real Time sample code for Encapsulation and Abstraction.
where to use abstract and where to use specifies like
public private.
Answer Posted / manikandan [ gtec,vellore ]
Encapsulation is used when v need to use a data with the
object access.
Abstraction is used when v need to restrict the end user to
access all process.
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
What is the main use of java?
Is arraylist ordered in java?
How do you define a set in java?
Which java ide is used the most?
What are examples of modifiers?
What is difference between path and classpath in java?
Who is the owner of java?
What is a default constructor and also define copy contrucyor?
What is the purpose of static methods and static variables?
What is operator overloading. Is it is supported in java?
Is final static java?
What is meant by object?
What is the byte order of byte buffer?
Can we initialize the final blank variable?
What will be the output of round(3.7) and ceil(3.7)?