Quantcast
Channel: A Java geek » Java
Viewing all articles
Browse latest Browse all 64

Back to basics: encapsulating collections

$
0
0
Younger, I learned there were 3 properties of the Object-Oriented paradigm: Encapsulation Inheritance Polymorphism In Java, encapsulation is implemented through usage of private attributes with accessors methods commonly known as getters and setters. Whether this is proper encapsulation is subject to debate and is outside the scope of this article. However, using this method to [...]

Viewing all articles
Browse latest Browse all 64

Trending Articles