Write the code that creates an object of type Rectangle named box1 using a no argument constructor.
It is common practice in object-oriented programming to make all of a class's: Question options:
A) Fields private.
B) Methods private.
C) Fields public.
D) Fields and methods public.