This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by Mathews P Srampikal: what is the use of constructor without arguments.....what will happen if there is an argument constructor???
In the earlier java specification, for the instances which were to be loaded by a class loader, the inclusion of a constructor with an arguement was not supported.And servlets were/are loaded by a class loader. But IMO, this should hold true only in the case you have provided "only" an arguement constructor, what if you have provided a default no arguement constructor as well? as then class loader can load the instance easily. [ November 19, 2003: Message edited by: V�r�n Kha�n� ]