Answer Posted / bhuwan chandra
As the object in Java has properties and behaviour and they
are encapsulated together, no other class can gain access
of the data unless the class is defined as public.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a boolean expression in java?
How to make a write-only class in java?
What is anti pattern in programming?
What is a subsequence of a string?
What are the restrictions imposed on method overriding?
What is difference between protected and private?
When can you say a graph to be a tree?
What about main() method in java ?
What is the significance of listiterator?
Can we write a class without main method in java?
What is flag in python?
What is set and get methods in java?
What are the new features in java 8? Explain
What is formatted output?
What is the largest long allowed by java?