175k views
3 votes
c write the code that creates an object of type rectangle named box1 using a no argument constructor.

1 Answer

4 votes

Answer:

JAVA

Rectangle box1 = new Rectangle();

User Mauget
by
4.3k points