What is meant by data hiding in java?
Answer / Abdul Mutlib Khan
Data hiding in Java refers to the mechanism of restricting direct access to object's variables (data) and providing only public methods to access those variables. It promotes encapsulation, making the code more modular and easier to maintain.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to instantiate member inner class?
What is overloading and overriding in java?
What are the standards to place package statement within a source code file?
What is string in java? String is a data type?
How many threads does a core java have?
What restrictions are placed on method overriding?
What is lazy initialization in java?
What is floating data type?
What are the major advantages of internal iteration over external iteration?
How can you say java is object oriented?
What is the difference between Byte stream and Charecter Stream?
what is difference Between Core Java and advance java
60 Answers HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,