hi,Totally there 3 uses of "super" keyword.. we can call the superclass variables,constructors and methods.. the belove example will give u the better understanding of super keyword..class super...
chaitanya
Oct 25th, 2006
the super keyword is used to access the method that belongs to parent class that has been overridden in the child class .for example:class a{  ...
The whole point of making the constructor of Class B private is to prevent its instantiation by the general audience. This is the genesis of factory design pattern, Class B in this case will define a getInstance() method which will return objects of class A
Hi,I think it is possible by Hibernate (ORM tool).if any one want example code plz send a mail to id.keeps smiling and mailingbora_srinivasarao@yahoo.co.incell:+919989190898"HELP EVER HURT NEVER"&...
DataInputStream is used to read primitive data types from underlying input stream whereas Bufferedinputstream used to read bytes from a stream without neccessary causing a call to each byte to the stream
Chinnu
Nov 17th, 2006
The Two main catagories of Java IO are Readers/Writers and Streams. Stream deal with characters and Reader/Writer deal with bytes. So they are differentiated by the kind of data they deal with.A data ...
hi, The significance of input attribute for the action tag is:If any FormBean is mapped with that path then the request goes to that FormBean first instead of that action and it will...
first you go through a text book on struts or go through some online tutorials on struts...for the first timers on struts.......i suggest the book by Steven Holzner.....sory i have forgotten the bo...
Hi, As I know method overloading would be an example of static polymorphism and method overriding would be an example of dynamic polymorphism. Because in static polymo...
hi every bodyjava doesn't supports multiple inheritance .It supports via the interface implementationwhat actually means multiple inheritance:suppose class & sub classes use same type of function ...
Hi, Java doesn't support mulitple inheritance, it support single implementation inheritance. Object class is the super class of all the classes in java so whe...
Whenever a customized exception is to be thrown to the user, then the customized or user defined exception classes are created. These classes basically extends the Exception class.When the excep...
User defined exception is nothing but a sub-class of Exeption class. And when you are trying to throw or catch thatexception, an object of that will be created. And the basic concept says all the objects are stored in Heap memory.And your exception also...ThanksGourahari
throw enables ur program to throw an exception explicitily.general form is throw abcabc is an object of type Throwable or subclass of Throwable.throws : if a method...
kiran
Nov 28th, 2006
Throw - It is used to throw an Exception.The throw statement requires a single argument : a throwable class object throws - This is used to specifies that the method can throw exception
There is destructor concept in javabut there is method called finalize java has an inbuilt feature that collects the garbage memory locations and frees it regularlythe code in the finalize method will be executed when the java garbage colection utility frees that memory
Hi..you can declare up to maximum of 2147483647..example:long []a = new long[2147483647];int[]a = new int[2147483647];float[]a = new float[2147483647];double[]a = new double[2147483647];short[]a = new...
#include<iostream.h>int main(){char name[80],name1[80];int i,j;cout<<"nEnter string to be reversed:";cin.getline(name,80);i=j=0;while(name[i]!='')i++;while(--i>=0)name...
#includ<iostream.h>int main(){char name[80],name1[80];int i,j;cout<<"nEnter string to be reversed:";cin.getline(name,80);i=j=0;while(name[i]!='')i++;while(--i>=0)name1...
The fact that class Object declares a finalize method means that the finalize method for any class can always invoke the finalize method for its superclass. This should always be done, unless it is th...
Every user defined class extends object class in java . so if the user defined class having some resources to deallocate(such as database connection, file closing, streams closing) the finalize method is overriden in the current class. thats y the finalize method in object class is protected.
Binding in java is between an object and its methods/variables. It can happen either at compile time( method overloading / normal call ) or at run time ( method override ).
Ans