Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 16024
Total Votes: 144 votes
Average Rating: 3.81 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.