GoConqr has a new look! Let us know what you think.

Mind map

Objects and Classes

jeremy kowkabany English

Map content

Objects and Classes

  1. Objects: Things that exist

    • Attributes: Who I am, things about me
      • Gender
      • Height
      • Address
    • Actions: What I can do
      • Skip
      • Jump
      • Run
    • Create objects: Use new followed by contructor
  2. Classes: Template to create objects of identical type

    • Class Name: Use PascalNaming
      • UML has class name on top
    • Fields: Variables, can refer to other objects, use camelNaming
      • UML has Fields in middle
    • Methods: Actions, returns something and accepts some number arguments (even 0)
      • Bottom of UML
      • Method Main: Special method allowing class to be invoked.
    • Constructors: All classes have a constructor, creates objects, same name as class
  3. Null: Use when a variable doesn't have value

Information

Description
Mind Map on Objects and Classes, created by jeremy kowkabany on 24/05/2020.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?