Program
class Car{
public Car(){
System.out.println("Inside car..Constructor");
}
public void Car(){
System.out.println("Inside car..Method");
}
public Car(String color){
System.out.println("Inside car.." + color);
}
public void acceleration(){
System.out.println("Car Acceleration");
}
}
class TestCar{
public static void main(String args[]){
Car c1=new Car();
c1.Car();
Car c2=new Car("Red");
c1.acceleration();
}
}