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

Mind map

Mind Map (Classes and Objects)

Shriraam Ravindran Computer Science English

Mind map on classes and objects: instantiate, define class, constructors and UML class diagram

Mind map: Classes and objects

Map content

Mind Map (Classes and Objects)

  • Blueprint / template to  creae objects of identical type
  1. Instantiate/Create object

    • Constructors
    • new keyword / assign ref variable
      • Object / Instance
        • Fields (Attributes)
          • Primitive
            • Stack
          • Reference/Object variable(s)
            • if no value
              • "null" value
                • Test if null, use ==
        • Methods (actions)
        • Heap
        • If object variable is assigned
          • Address Object
    • main
  2. Define class

    • Class name
      • Organize, for functionality etc.
        • input / output
          • java.io
        • java core
          • java.lang
        • package keyword
          • Packages
            • complining non-deault package
              • change directory to working directory (use javac)
            • complining class belonging to package
              • change directory to working directory (use java)
        • class name = package name
          • fully qualified name
        • no package declaration
          • belong to default package
    • UML Class Diagram

Information

Description
Blueprint or template to create objects of identical type
Views
10
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?