Hi,
The init() method is typically used to perform servlet initialization--creating or loading objects that are used by the servlet in the handling of its requests. Why not use a constructor...
Type: Posts; User: softvijay; Keyword(s):
Hi,
The init() method is typically used to perform servlet initialization--creating or loading objects that are used by the servlet in the handling of its requests. Why not use a constructor...
Try this
say u have object cal of type Calender.
Calendar cal= Calendar.getInstance();
cal.add(cal.MONTH,1); // to increment month by one
cal.add(cal.MONTH,-1); // to decrement month by one
NO it will not execute, normally main method is executed by JRE Interpretor
Making it private would not provide access to JRE.
vj
Single inheritance means, A class can inherit only one class directly, that means a Class can extend only one class in anycase.
(Java support single inheritance not multiple like C++)
Single...
hi, using jdbc driver makes database url, user, password bound to your java codes. Now imagine a situation when ur database url, username & password becomes something different, in that senerio u...