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 complexity and its types?
Explain about member inner classes?
What is string variable?
What is string in java?
Explain the selection sort algorithm?
Can java list contain duplicates?
What is an association?
Explain the difference between an Interface and an Abstract class?
According to java operator precedence, which operator is considered to be with highest precedence?
How to reverse string in java?
What is use of inner class in java?
Where is jre installed?
Differentiate between class and structure.
What is an i/o filter?
What are different access specifiers in java? Explain