Course Content

Course Content

Description

OOP in Core Java

From the previous video, we have learnt that what are Classes and Objects in Java programming language. In this video we are going to learn about what is Object Oriented Programming in Java and difference between Object oriented programming (OOP) and Procedure oriented programming (POP) in Java.

Object-oriented programming in Java, or OOP, is an approach to problem-solving where all computations are carried out using objects only.

An object in Java is a component of program that knows how to perform certain actions and how to interact with other elements of the program.

Now we will see what is the difference between Object oriented programming(OOP) and Procedure oriented programming(POP).

Procedure Oriented Programming (POP)

Object Oriented Programming (OOP)

POP program is divided into small parts called functions.

While OOP program is divided into parts called objects.

POP follows Top Down approach.

OOP follows Bottom Up approach.

POP does not have any access specifier.

OOP has access specifiers named Public, Private, and Protected.

POP does not have any proper way for hiding data so it is less secure.

Whereas OOP provides Data hiding so it provides more security.

In POP overloading is not possible.

Whereas in OOP overloading is possible in the form of Function Overloading and Operator Overloading.

Hence, we have seen what is Object Oriented Programming in Java. In the next video we will learn that what are Nested classes in Java programming language.

FAQs

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download The Apps

Code Scan or Download the app
Google Play Store
297K+ Downloads
4.5 Rating
10K+ Reviews
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere