O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Java

Francisco Guevara Inglês 8 flashcards

Flashcards do 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.

Informações

Descrição
FlashCards sobre Java, criado por Francisco Guevara em 03-05-2018.
Criado por
Francisco Guevara · mai 2018
Atualizado
3 mai 2018
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?