Explain in detail about encapsulation with an example?
Answer Posted / ravikiran(aptech mumbai)
encapsulation is the one which will bind members and methods
into a single entity
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is boolean query?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
Which is better stringbuilder or stringbuffer?
What is a function argument in java?
How to provide security in java
Explain the pointers in Java?
Can a static method be final?
What are the problems faced by java programmers who don't use layout managers?
What do you mean by an interface in java?
What does compareto () do in java?
What is consumer in java?
Can a function return a function?
What is ++ a in java?
What is the difference in between cpp and java? Can u explain in detail?
What is the main use of generics in java?