Objects and Classes

Description

My description of the topics covered in our first lecture/reading.
Sean Barnette
Mind Map by Sean Barnette, updated more than 1 year ago
Sean Barnette
Created by Sean Barnette over 5 years ago
0
0
1 2 3 4 5 (0)

Resource summary

Objects and Classes
  1. Classes: are an oop tool that enables programmers to create the abstraction of a problem
    1. 3 things to consider when writing a class: class name, the fields, and the methods
    2. Objects: are everywhere, living and otherwise: concrete and abstract
      1. A class is a blue print or a template to create objects of identical type.
        1. OOP: Object-Oriented Programming
          1. Ex: Having an employee class that has age and position as fields, all employee objects created out of this class will have age and position as fields.
            1. Fields: are variables, the initials of each word is capitalized following the first word
              1. null: a concept referring to nothing
                1. Void: a method that does not return a value
                  1. Methods define actions that a class's objects can do.
                    Show full summary Hide full summary

                    0 comments

                    There are no comments, be the first and leave one below:

                    Similar

                    Plant and animal cells
                    charlotteireland
                    AQA Biology 11.2 mitosis
                    Charlotte Hewson
                    A View from the Bridge
                    Mrs Peacock
                    Poppies - Jane Weir
                    Jessica Phillips
                    Edexcel Additional Science Chemistry Topics 1+2
                    hchen8nrd
                    Biology B1.3
                    raffia.khalid99
                    OCR Physics P4 Revision
                    Dan Allibone
                    GCSE Maths Conversions
                    EmilieT
                    Germany 1918-39
                    Cam Burke
                    How the European Union Works
                    Sarah Egan