Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 8 of 8

Thread: What is the difference between instant variable and instance variable?

  1. #1
    Junior Member
    Join Date
    Jan 2013
    Posts
    17
    My Mood
    Hungover
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What is the difference between instant variable and instance variable?

    Plz help


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: What is the difference between instant variable and instance variable?

    Please post the question and some code that shows what you are asking about.
    The title makes no sense.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Jan 2013
    Posts
    17
    My Mood
    Hungover
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: What is the difference between instant variable and instance variable?

    What is the difference between instant variable and instance variable?

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: What is the difference between instant variable and instance variable?

    Where did you see the term: instant variable? I've never seen it.
    What does google return for "instant variable"?
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Jan 2013
    Posts
    17
    My Mood
    Hungover
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: What is the difference between instant variable and instance variable?

    I have seen it in our book.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: What is the difference between instant variable and instance variable?

    Look in the book's index or ask google.
    If you don't understand my answer, don't ignore it, ask a question.

  7. #7
    Junior Member
    Join Date
    Jan 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: What is the difference between instant variable and instance variable?

    Instance variable is a variable defined in the class also known as the class variable. And i guess you meant to say constant instead of instant?

  8. #8
    Junior Member
    Join Date
    Jan 2013
    Posts
    17
    My Mood
    Hungover
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: What is the difference between instant variable and instance variable?

    So I think it is wrong in the book.

Similar Threads

  1. Replies: 0
    Last Post: October 30th, 2012, 10:06 AM
  2. How to compare variable with multiple variable?
    By mharck in forum What's Wrong With My Code?
    Replies: 3
    Last Post: September 11th, 2012, 09:02 AM
  3. For-loop: initialisation of variable, can't set variable to value zero?
    By Bitbot in forum Loops & Control Statements
    Replies: 4
    Last Post: July 15th, 2012, 02:32 PM
  4. Replies: 5
    Last Post: November 16th, 2011, 11:22 AM
  5. [SOLVED] static variable in an instance method?
    By chronoz13 in forum Java Theory & Questions
    Replies: 2
    Last Post: January 30th, 2010, 03:24 AM