Results 1 to 3 of 3

Thread: Instantiation

  1. #1
    kavithas is offline Member
    Join Date
    Nov 2007
    Posts
    8
    Rep Power
    0

    Default Instantiation

    hi,
    I am new to java can you tell me
    What is Instantiation?

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    Creating a new object with the "new" operator.
    See Creating Objects.

  3. #3
    vortex is offline Member
    Join Date
    Dec 2007
    Posts
    5
    Rep Power
    0

    Default

    int i = 3;

    int i : this is declaration...meaning that u declare a new variable or object...
    = 3: this is instantiation...meaing that u initialise i with 3...

Similar Threads

  1. Instantiation using an instance factory method
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-29-2008, 01:35 PM
  2. instantiation
    By Camden in forum New To Java
    Replies: 1
    Last Post: 03-02-2008, 05:44 PM
  3. Instantiation using an instance factory method
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 09:25 PM
  4. object instantiation and arrayList
    By lockmac in forum New To Java
    Replies: 5
    Last Post: 08-09-2007, 07:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •