Lecture-1. Introduction To OOP
Lecture-1. Introduction To OOP
INTRODUCTION TO OOP
Introduction to OOP
• Creating objects
• Helps to keep the Java code DRY "Don't Repeat Yourself", and
makes the code easier to maintain, modify and debug
Class Objects
Class
• A way of organizing information about a type of data
so a programmer can reuse elements when making
multiple instances of that data type
• A user-defined type that describes what a certain
type of object will look like
Object
Creating an object