CAN YOU EXPLAIN ABOUT INFORMATION HIDING IN JAVA ?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java  OOPS 
 644  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    Can you explain about information hiding in Java ?

    Information hiding helps objects to hide critical information from other objects accessing it. It effectively decouples the method being invoked from the internal workings of a function. By doing so, object can change the hidden portions of the function without changing the calling code. Encapsulation is a common technique programmers use to implement information hiding.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!