OOP Concepts

Cards (16)

  • It is a programming methodology that defines objects whose behaviors and interactions accomplish a given task.
    Object-Oriented Programming
  • ·       An object has characteristics or
    attributes
  • ·       The values of an object’s attributes give the object a

    state
  • The actions that an object can take are called
    behaviors
  • ·       Each behavior is defined by a piece of Java code called a method.
  • ·       Objects of the same kind are said to have the same data type and belong to the same class.
  • defines a kind of object
    class
  • it is a blueprint for defining the objects.
    class
  • ·       The data type of an object is the name of its class.
  • ·       allows objects of a class to take on the properties of objects from another class.
    inheritance
  • used to avoid the repetition of programming instructions for each class.
    INHERITANCE
  • ·       To apply inheritance between classes, the ____-keyword is used.
    extends
  • is a program component that contains the heading for a number of public methods.
    interface
  • ·       interface is used by another class through the ___ keyword.
    IMPLEMENT
  • ·       is a collection of related classes and interfaces that have been grouped together into a folder.
    PACKAGE
  • ·       You can use all the classes that are in a package within any program or class definition by placing an
    ___ statement.
    import