Search:

Type: Posts; User: softvijay; Keyword(s):

Search: Search took 0.00 seconds.

  1. Answers
    6
    Views
    203,772

    Re: Constructor and init()

    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...
  2. Answers
    2
    Views
    6,203

    Re: Incrementing the month in a date

    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
  3. Answers
    8
    Views
    7,772

    Re: Declare main method as private

    NO it will not execute, normally main method is executed by JRE Interpretor
    Making it private would not provide access to JRE.

    vj
  4. Answers
    3
    Views
    3,605

    Re: About inheritance

    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...
  5. Re: JDBC-Implementation of Connection,Resultset,Statement

    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...
Results 1 to 5 of 5
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact