Friday, October 22, 2010

Java

OOPS Concepts

Encapsulation :
                      An Encapsulation is hiding internal data form
Abstraction :
                    An Abstraction is Manage complexity in simplified Manner .
e.g.
1) Color is combination on 3 main color Red,Green,Blue but for remembering the color we do not need to know what is ratio of RGB for Orange , We are need to know only the Orange is color .
2) Car has made up of thousand of part , but at the time thinking about the car we know only the car as an hole object rather than the Car all part. 
 

No comments:

Post a Comment