Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 16710
Total Votes: 147 votes
Average Rating: 2.86 out of 5
Category: JAVA/Core JAVA
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.