This article introduces you to constructors and their uses in Java. It covers the default constructor in Java, handling a constructor with parameters, and constructor overloading. A downloadable file for this article is available here.
If you are new to NetBeans IDE, I strongly suggest you go through the above existing articles first, before proceeding with this one. If you are new to OOP in Java using NetBeans IDE, I suggest you go through my first article in this same series at http://www.devarticles.com/c/a/Java/A-Fast-Gateway-to-OOP-in-Java- using-NetBeans-IDE/. If you are new to developing Microsoft SQL Server-based Java applications, I request you go through another article of mine (of course, this is part of a series as well) at:
I will not be going through each and every step of creating and working with projects in NetBeans IDE, as all of those issues have been covered very clearly at the above links.