O'Reilly logo

JAVA Programming by K. Rajkumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5

Classes and Objects

OBJECTIVES
  • To explain object-oriented paradigm with encapsulation, information hiding, aggregation, inheritance and polymorphism features
  • To cultivate object-oriented thinking to design applications
  • To create classes with data members and member functions
  • To illustrate classes with Laptop application
  • To write different access types for classes, data members and member functions
  • To implement aggregation with OOCollege application
  • To explain static variables and static methods
  • To implement array of objects for Student application
  • To implement methods with objects as arguments for BookStore application
  • To understand the scope with this reference
5.1 INTRODUCTION

In chapters 14, the readers were exposed to Java ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required