0% found this document useful (0 votes)
2 views

Basic Java

The document provides an introduction to Object Oriented Programming (OOP) concepts, explaining key principles such as objects, classes, inheritance, polymorphism, and encapsulation. It emphasizes the importance of abstraction in managing complexity and describes how classes serve as blueprints for creating objects with shared properties and behaviors. Additionally, it covers data types, variables, and operators in Java, highlighting their roles in programming.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
2 views

Basic Java

The document provides an introduction to Object Oriented Programming (OOP) concepts, explaining key principles such as objects, classes, inheritance, polymorphism, and encapsulation. It emphasizes the importance of abstraction in managing complexity and describes how classes serve as blueprints for creating objects with shared properties and behaviors. Additionally, it covers data types, variables, and operators in Java, highlighting their roles in programming.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 50
[1 Introduction to Object Oriented Programming Concepts Object Oriented Programming (OOF) is an approach that provides a Way for modularising programs by creating partition ‘ed memory area for bot data and functions (be, OO} fin object can be considered asa partitioned area of omputer memory that stores dat and a set of opera tions that can access that data. OBJECTS AND CLASSES Objects in programming are just ike real world objects like humans, cas phones. tte. To understand in simple terms, let us tke on example ofa simple object of 4 clas Student. Consider one object ie. a student, arsed Sanjay. Sanjay has some attributes tihich represent basic information abou" im Uke Tas name, colt number ane adress and ing, jogs, singing, CC ‘hermore some functions that he performs like studing eating, Wall hie object. This, ‘A Class defines the common properties of objects — itis a blueprint of t awe us to rake many objets ofthe sa