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

Mind map

JAVA Objects & Classes

Danielle Dietz English

Map content

JAVA Objects & Classes

  1. Class

    • blueprint or template
    • determines what objects you get
    • must have at least one constructor
    • 3 considerations
      • classname
      • fields
        • variables and/or primitive references
      • methods
        • defines actions that a class's object can do
          • return types
            • primitive
            • object
            • void
          • method main
            • provides entry point
        • comprised of declaration & body
          • body
            • code to perform action
          • declaration
            • return value, method name, list arg
  2. Object

    • 2 considerations
      • attributes/fields
      • actions/methods
    • new keyword followed by constructor of the class used to create new object
    • use reference variables to manipulate later
    • model for "real life"

Information

Description
Mind Map on JAVA Objects & Classes, created by Danielle Dietz on 27/05/2021.
Created by
Danielle Dietz
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?