Mind map
Class () - contains everything, capitalize name, has one method main
Map content
Class () - contains everything, capitalize name, has one method main
- contains everything, all parts of name are capitalized, one method main
Fields - attributes (variables), lowercase first letter of first word in name, public (can be accessed by all classes) or private (can only be accessed by this class), new to instantiate new field (create field within method), null means it doesn't exist
- attributes (variables), lowercase first letter of first word in name, public or private, primitive or compound, new to instantiate new field, null means it doesn't exist
- int - number, no decimals, primitive (like an atom)
- double (float) - number, can have decimals, primitive (like an atom)
- String - word, made up of characters, compound (made up of primitive fields)
- bool - true/false, primitive (like an atom)
- char - letter, primitive (like an atom)
Methods () - same as functions, dictate what happens, run from top to bottom, can be public or private, new to instantiate new method
- same as functions, dictate what happens, can be public or private, new to instantiate new method
Constructor () - needs to have same name as Class, doesn't need void before it
- not totally sure how to use this yet, needs to have the same name as Class, doesn't need a void before
Information
- Description
- Mind Map on Class () - contains everything, capitalize name, has one method main, created by Ben Klopfenstein on 20/05/2019.
- Created by
- Ben Klopfenstein
- Views
- 0
- Rating