Showing posts with label Good Programming Practices. Show all posts
Showing posts with label Good Programming Practices. Show all posts

Tuesday, August 18, 2015

Good Programming Practice Post 1

Hi All...!

Today I'm going to show you some "Good Programming Practices" for Java programming.


Tip 1


When you write a Java program, you can begin that program with multiple line comment that tells about the program,

  • Purpose of the program.
  • Author (Programmer who write the program).
  • Date and Time when the program was last modified.

For a example look at the following Java code


Tip 2


Use White-spaces to make your code easy to read (enhance readability).

For a example look at the following Java codes