¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Java

Francisco Guevara Inglés 8 fichas

Fichas del conjunto (8)

  1. 1OBJECTSObjects have states and behaviors. Example: A dog has states - color,
    name, breed as well as behaviors – wagging the tail, barking, eating. An object is
    an instance of a class.
  2. 2ClassClass - A class can be defined as a template/blueprint that describes the
    behavior/state that the object of its type support.
  3. 3Java ArraysArrays are objects that store multiple variables of the same type. However, an array itself
    is an object on the heap. We will look into how to declare, construct, and initialize in the
    upcoming chapters.
  4. 4Object -Objects have states and behaviors. Example: A dog has states - color,
    name, breed as well as behavior such as wagging their tail, barking, eating. An
    object is an instance of a class.
  5. 5Class -A class can be defined as a template/blueprint that describes the
    behavior/state that the object of its type supports.
  6. 6 Methods- A method is basically a behavior. A class can contain many methods.
    It is in methods where the logics are written, data is manipulated and all the
    actions are executed.
  7. 7Instance Variables -Instance Variables - Each object has its unique set of instance variables. An
    object's state is created by the values assigned to these instance variables.
  8. 8JAVA IDENTIFIERSAll Java components require names. Names used for classes, variables, and methods are
    called identifiers.
    In Java, there are several points to remember about identifiers. They are as follows:
     All identifiers should begin with a letter (A to Z or a to z), currency character ($)
    or an underscore (_).
     After the first character, identifiers can have any combination of characters.
     A key word cannot be used as an identifier.
     Most importantly, identifiers are case sensitive.
     Examples of legal identifiers: age, $salary, _value, __1_value.
     Examples of illegal identifiers: 123abc, -salary.

Información

Descripción
Fichas sobre Java, creado por Francisco Guevara el 03/05/2018.
Creado por
Francisco Guevara · may 2018
Actualizado
3 may 2018
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?