0% found this document useful (0 votes)
73 views9 pages

OOP Presentation 15401221062

The document summarizes key concepts of Object Oriented Programming (OOP) in Java, including classes, objects, encapsulation, inheritance, polymorphism, and data abstraction. It provides examples of a Java class with a main method that prints "Hello, World!". The document is evaluating a presentation on OOP concepts implemented in Java.

Uploaded by

Krishna Addya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views9 pages

OOP Presentation 15401221062

The document summarizes key concepts of Object Oriented Programming (OOP) in Java, including classes, objects, encapsulation, inheritance, polymorphism, and data abstraction. It provides examples of a Java class with a main method that prints "Hello, World!". The document is evaluating a presentation on OOP concepts implemented in Java.

Uploaded by

Krishna Addya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Name Krishna Kishor Addya

Semester 3rd Section A


Stream BCA(Bachelor of Computer Application)
Class University
Roll
39
Roll 15401221062

CA1- Evaluation
Topic of PPT Object Oriented Programming (JAVA)
Subject Name Object Oriented Programming

Subject Code BCAC301


-: TOPIC NAME :-
Object Oriented Programming (Java)
Java was developed by James Gosling,Patrick Naughton,Chris Warth,Ed Frank and
Mike Sheridan at Sun Microsystems in 1991.It was called ‘Oak’ but it was
renamed ‘Java’ in 1995.
❑ What is Object Oriented Programming(OOP)?
➢ Object Oriented Programming is a new technology based on objects and
classes.It presently represents the best methodology framework for
software designers to develop complex large scale systems .There are
many objective oriented programming languages are – C++,Java,Python.

Object oriented programming support various concept that makes easier to


solve problems . These are as following :-
▪ Object
▪ Class
▪ Encapsulation
▪ Inheritance
▪ Polymorphism
▪ Data Abstraction

 Object:-
 Object are the basic run time entities is an object oriented system.
 Object is a insance of class.We can say that objects are variables of
the type of class.Object can be student,employee,car,book,etc..
 Class:-
 A class is a user defined data type.
 Classes are not objects – rather they are the blue print for creating
objects the memory.
 Variable declared in class are called data member and functions declared in
class are known as member functions.
 A class is an abstraction of the real world entites with similar propertites.

In Java,classes support three key features of OOP :-


• Encapsulation
• Inheritance
• Polymorphism
 Encapsulation:-
Wrapping of data and functions into a single unit.
 Information hiding.
 Inheritance:-
 The process by which objects of one class can get properties of
objects of another class.
 Polymorphism : -
 The ability to take more than one form.
 Allows us to write genetic reusable code more easily.

 Data Abstraction :-
• Abstraction refers to the act of representing essential features without
including the background details or explanations.
 Java Static Method :-
• A static method belongs to the class rather than object of a class.
• Static method can access static data member and can change the
value of it.
 Java Static Keyword :-
• The static keyword in java used for memory management mainly.
• We can apply java static keyword with variables,methods,blocks and
nested class.

 Java Constructors :-
• Constructor in java is a special type of method that is used to
initialize the object.
 Rules for creating java constructor :
a. Constructor name must be same as its class name.
b. Constructor must have no explicit return type.
 Dynamic Binding (Late Binding):-
• Dynamic Binding or late binding refers to linking a procedure call
to the code that will be executed only at run time.
 Message Passing :-
• Object communicate with one another by sending and
receiving information.
Student.setData(Id,Name)

Object Message Information

 Advantages of OOP :-
i. platform- independent.
ii. It is provides an efficient memory allocation strategy.
iii. It is easy to modify.
 Disadvantages of OOP :-
i. It is slower than other programs.
ii. It required a lot of effort to create.
iii. It provides no backup facility.
 Example of a JAVA Program:-
class HelloWorld {
public static void main(String[ ] args) {
System.out.println("Hello, World!");
}
}
 Output:-
Hello, World!

You might also like