Object Oriented Programming in JAVA
CS 201
 

Introduction
  • Procedural programming languages
    -- C is an example
    -- Action-oriented
    -- Functions are unit of programming
     
  • Object-oriented programming language
    -- Java and C++ are two examples
    -- Everything is an object
    -- A program is a bunch of objects telling each other what to do, by sending messages
    -- Each object has its own memory, and is made up of other objects
    -- Every object has a type (class)
    -- All object of the same type can receive the same messages
     
  • Functions, or methods, are encapsulated in classes

Prev | Home | Next


Mihir Patel | CS561
Illinois Institute of Technology