class Car
{
public static void main(String[] args)
{
Car mechanics=new Car();
mechanics.mech();
}
public void mech()
{
System.out.println("mechanics");
}
}
Top comments (0)
Subscribe
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (0)