Private keyword in Java - always keep members private
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Private keyword in Java - always keep members private
private keyword provides encapsulation in Java which is a much needed property for any loose couple and high cohesive design. This article discusses ohttp://javarevisited.blogspot.com/2012/03/private-in-java-why-should-you-always.html
Total Hits: 4241
Total Votes: 156 votes
Category: JAVA/Core JAVA
Submitted on: 2012-07-21 05:15:53
Submitted By: Javin Paul
Description:
private keyword provides encapsulation in Java which is a much needed property for any loose couple and high cohesive design. This article discusses one of java coding best practices which says keep variable, methods private until you have a good reason for not doing so. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
26 |
![]() ![]() |
![]() ![]() 16.67% |
26 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
26 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
26 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
26 |





16.67%

16.67%

16.67%

16.67%

16.67%