what Data encapsulation in java?

Answer Posted / sudheer nath

data encapsulation means the data member and the member function can remains inside the class ,only those member function which is the part of the class can only access thw data member of a class .tise is used for security purpuse .

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to specify multiple jndi names when deploying an ejb?

760


How do you check if an arraylist is not empty?

783


Write a method that will remove given character from the string?

768


What is a newline character in java?

779


Give the hierarchy of inputstream and outputstream classes.

813


What is the list interface?

832


What are the types of java languages?

725


What is math in java?

812


Can a abstract class be defined without any abstract methods?

782


What is collection class in java? List down its methods and interfaces.

721


What are aggregate functions explain with examples?

779


Is treeset sorted in java?

768


Why is stringbuffer not immutable?

770


What is an enumeration?

768


What is the difference between a method and a procedure?

753