Object Oriented Programing Language

What is this Object oriented programming language ?

=>Any language which is can used to solve the real world problem is called as the OOPS.

=>It is a way of solving the real world problem with the help of programs.

Example of the Programming Language Java, C and C++

Example : Before the E-commerce Website or the App came The people used to visit the store the physical to buy the product so it might the time constraint and the uncertain prices for the product are their it make difficult.

The Problem are 1.Limited Choices 2.Price Comparisons 3.Product Reviews 4.Time-Consuming

1.When the E-commerce Platform are came it make the people easy to buy the products with more choices. 2.Their is the Price Comparisons tools are like the browser extension are their to check the price. 3.They are the review for each product which make the user to buy the product more easy. 4.Buy siting in one place itself it we can make purchase.


Memory Managment

Two Types

Stack And Heap

Stack - Stack deals with the stack frames of methods

Heap - Heap deals with object

class Car 
{
  String model;
  int price;
  public void drive(){
    int dist = 85;
    System.out.println("Let's go on a long drive for " + dist + " km.")
  }
}
class Main{
  public static void main(String[] args){
    Car c = new Car();
    new Car() // garbage collections
    c.model = "harrier";
    c.price = 2200000;
    System.out.println(c.model + " : " + c.price);
    c.drive();
  }
}

Explaination: