SSD Definitions

Cards (16)

  • Encapsulation
    The process of defining a class by concealing its internal members and the only way to access these internal members is by using public methods/properties
  • Objects
    An instance of a class. An object will contain all of the properties and methods of the class it's created from. Many objects can be created from the same class
  • Constructor
    A type of method within a class which is executed when an object is created
  • Virtual method
    A method with an implementation that can be overridden by a sub class method
  • Exception Types:
    • IO
    • OutOfRange
    • Format
    • FileNotFound
    • Generic Exception
    • DivideByZero
  • Abstract Classes

    Cannot be instantiated but can have sub classes derived from them and they must be extended
  • Bubble sort
    A sorting method that compares adjacent values to each other, if the left value is greater than the right, they are swapped. A pass is when the system gets to the end of the array. The system will continue sorting until there are no swaps in a pass
  • A type that is defined as a class is a reference type. When a class variable of this type is declared at run time, the variable contains the value null until the creation of an instance of the class by using the new operator, or it is assigned to an existing object of a compatible type. When the object is created, enough memory is allocated for that specific object, and the variable holds only a reference to the location of the object
  • Interface
    A fully abstract class that has no access modifiers or constructors. It can implement many interfaces. Classes must implement interfaces which impose their structures onto the inheriting class
  • An object is an instance of a class that can perform a set of related activities that define its behaviour. Abstract classes cannot be instantiated. An abstract class can only be used as a base class for other classes that extend it. A class can inherit from one abstract class(es) and must override all its methods/properties that are declared to be abstract methods/properties. Polymorphism at run-time is a primary concept of object-oriented programming which is enabled through late binding.
  • Sub Class

    A class which inherits from a base class. The sub class has access to the base classes visible properties, methods and events
  • Polymorphism
    Allows sub class methods to be invoked through the base class during run-time. This is enabled through late-binding
  • Late-Binding
    The connection by a polymorphic base object to an overriding method during runtime when the object type is known
  • Public
    visibility, allows access by all classes
  • Static
    single instance - use the class name to access
  • Exception
    base class for exception handling that handles all exceptions and all other exception classes derive from it