DEV Community

AmalaReegan
AmalaReegan

Posted on

1

Day 4 java class

Image description

input:

class Car
{
public static void main(String[] args)
{
Car mechanics=new Car();
mechanics.mech();
}
public void mech()
{
System.out.println("mechanics");
}
}

Image description

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more