Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Terms / definition / explaination JAVA?

Can anybody pls explain what is attributes, object, instances, instance variables, ? please . Just a simple but understandable reply would do .Thanks

4 Answers

Relevance
  • 1 decade ago

    In addition to what one answerer has said about attributes ( size , type(ie.Flatron) , BW or color) and objects.

    The object is just the class, as in the TV has attributes, but has not been made. It could be made, but is not (yet).

    Instances is when you make a TV. It is an instance of an object.

    The instance variables would be the variables, or attributes, connected with the instance of TV you just made. For example, the TV would have a size, type and colour mode (BW or colour).

    Hope that helps.

  • Anonymous
    1 decade ago

    Attributes:

    Attributes are nothing but the properties that an object or a class holds.

    For example:

    Television is an object.And some of its properties or attributes are : size , type(ie.Flatron) , BW or color.

    Object :

    It is a real world entity.From the above example we can say it as TV. and simply says it is an instance of a class.

    Source(s): JAVA,The Complete Reference. Book
  • 1 decade ago

    Java is a programming language

    developed by sun microsystem

    derives much of it syntax from C++ to C

    simpler object model

    fewer low level facility

    thats all i can explaine to ya'

Still have questions? Get your answers by asking now.