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 passed by reference and pass by value ?
What is java dot?
How do you input a string in java?
What is the difference between Java and C++?
What is java jit compilers?
Why collection is called framework in java?
What is the difference between math floor and math round?
Describe how to implement singleton design pattern in struts.
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
How to sort an unsorted array in java?
what is the constructor and how many types of constructors are used in java?
Why string is not thread safe?
How do you sort in descending order in java using collections sort?
What is meant by binding in rmi?
What is a predicate method?