Classes, Interfaces & Objects

Classes & Objects

This topic provides a quick review of Java Objects, Classes and Interfaces. You will also cover packages, constructors, polymorphism, information hiding and abstract classes.

Data Abstraction and Application Programming Interfaces (APIs)

This lecture introduces the concept of abstract data types and Application Programming Interfaces(APIs). You will see some common examples in the Java programming language and also learn how to write clients for Java APIs.

Lab-01
  • Understand workspaces in Eclipse
  • Understand Java Interfaces paradigm
  • Specify an Interface
  • Implement the Interface
  • Use of Interface/Implementation in a Client Object
Lab-02
  • Understand workspaces in Eclipse
  • Open the Debug Perspective in Eclipse.
  • Suspend, Resume and Terminate a Java Program.
  • Set Break Points.
  • Step through code.
  • View variable values
Lab-03

Develop a java program that reads in strings from the following URL and stores them in a sorted list.