Masters of Computer Science Object Oriented Programming

OBJECT ORIENTED PROGRAMMING ( OOP )USING JAVA – MCS Microsyllabus

Introduction to OOP

INHERITANCE AND POLYMORHISM

  • Super class, sub class, inheritance and member access
  • Types of inheritance
  • extends and super keyword
  • Overriding methods
  • The Object class
  • Final classes and methods
  • Abstract classes and methods
  • Creating and using interface
  • Method overloading
  • Upcasting and downcasting
  • Object equivalence

STRING AND STRINGBUFFER CLASS

  • String vs StringBuffer
  • Accessor methods
  • Immutable string
  • Converting objects to string
  • Strings and the Java compiler

EXCEPTION HANDLING

  • Errors and exceptions
  • Why we need to deal with exception
  • Life cycle of exception
  • Checked and unchecked exception
  • Exception hierarchy
  • Catching and handling exceptions
  • Try, catch and finally block
  • Throwing the exception
  • Exception class
  • Creating our own exception

INPUT AND OUTPUT STREAMS

  • Representing and managing file paths
  • I/O class hierarchy
  • Byte streams and character streams
  •  Exception handling in Java I/O
  • Java file I/O classes
  • Object serialization

JAVA COLLECTIONS

  • Java collection and generic
  • Iterating collection
  • List, ArrayList, LinkedList, Set, HashSet, Map
  • Type safety in java collection
  • Type wildcards

DESIGN PATTERN

  • Introduction to design pattern
  • Singleton, factory, abstract factory
  • Adapter
  • Composite
  • Decorator
  • Chain of responsibility
  • Observer

About Author

ICT Byte