Java Best Practice Programming Practices

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Java Best Practice Programming Practices

Java Best Practice Programming Practices
http://www.javatutorialcorner.com/2013/09/java-best-practice-programming-practices.html
  • Total Hits: 4012

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 6 votes

  • Category: JAVA/Core JAVA

  • Submitted on: 2014-03-16 09:49:08

  • Submitted By: Appu T

  • Set as Favorite

Description:

Providing Access to Instance and Class Variables Don’t make any instance or class variable public without good reason. Often, instance variables don’t need to be explicitly set or gotten—often that happens as a side effect of method calls.One example of appropriate public instance variables is the case where the class is essentially a data structure, with no behavior. In other words, if you would have used a struct instead of a class (if Java supported struct), then it’s appropriate to make the class’s instance variables public.Referring... - See more at: http://www.javatutorialcorner.com/search/label/Java?updated-max=2013-10-06T01:03:00-07:00&max-results=20&start=40&by-date=false    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 16.67%  1
 Two starsTwo star  Vote LeftVote MiddleVote Right 16.67%  1
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 16.67%  1
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 16.67%  1
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 33.33%  2

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements