hi,By default the first statement of any constructor is the super(); means before excuting the subclass constructor it will call the superclass zeroargument constructor.putting this statem...
Hi,I think the question is wrong. When we extend the super class then only a class becomes subclass of super class. Please reframe it properly.ThanksNaveen.
We cant call parameterized constructors by using newInstance() method. Bcoz, newInstance() method will use default constructor to create an object of a class.Ex:public class Sample {}if we write ...
try{System.out.println("class name is "+class_name);Class cls=Class.forName(class_name);Constructor[] ctorlist=cls.getConstructors();/**temporary remove the sysout statement***//** to go to the list b...
then how can i call a userDefine constructor i mean parameterised constructor?">
if i am Instantiating a class using "(Abc)Class.forName("Abc").newInstance()"then how can i call a userDefine constructor i mean parameterised constructor?
The Util package bascially contains Collection as its part. A collections framework is a unified architecture for representing and manipulating collections. All collections frameworks contain the foll...
 hiwhen ever start the web application the web container creates AcctionServlet object by using load-on-startup method. then it gets the config init parameter. then read the config-xml file.cheerssiva
when client gives req to a servlet response.sendredirect() method partially delegates the control to another servlet or jsp by giving request to that,and recieves the response from that servlet.then o...
The difference b/w response.sendRedirect and forward is that, the request is send back to the browser and request is taken back from the browser when user submits. While forward forwards the response to another servlet with request and reponse object with it.
Differences between Struts 1.1 and 1.2 :-1) Adviced for replacement of ActionErrors with ActionMessages2) org.apache.struts.Action statics: Use org.apache.struts.Global statics instead3) Ma...
Why not just treat infinty like any other String->float conversion error ? :float myfloat;try { myfloat = Float.parseFloat(floatAsString);} catch (Exception e) { // o-o the format of floatAsString is not quite compatible with java float}
Hi ,Finally i got the answer, but thank u all to give me prompt reply.i am using jdk1.4 . thats why i cant use Float.isInfinity() but i'll remember so in future i can use.thank u again.
MySQL: Maximum number of columns in one table - 3398; size of a table row - 65534 (BLOB and TEXT not included). Oracle: Unlimited rows@table. Maximum number of columns in one table - 1000. Up to 32 columns in index key. PostgreSQL: Rows - unlimited, columns - 1600; size of a table row - 1.6TB.