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

Mapa mental

Objects and classes

Matthew S Inglês

Conteúdo do mapa

Objects and classes

  1. Java is an object-oriented program.

    • Objects are everywhere; they are living and nonlving.
      • Objects perform actions (methods)
  2. Need classes to create objects, they are the blueprint.

    • If Employee object only needs to work and be paid, then the class only needs these two methods.
      • Address getAddress: returns an Address object
    • Consider 3 things: the name, fields, and methods. (Structural order of a UML diagram)
      • Fields are variables
    • Main method is needed. "Public static void main(String [ ] args)"
  3. Every class must have at least one constructor. Constructors are like mthods but have no return value.

  4. Can use "new" to create an object.

Informações

Descrição
Mapa Mental sobre Objects and classes, criado por Matthew S em 16-01-2020.
Criado por
Matthew S
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?