Answer to Question #183600 in Java | JSP | JSF for Tim

Question #183600

*Based on answer choices A-E, what is the correct option?


2. Assuming there exists a Java class named "Fruits", which can create an instance named "f1"

of the "Fruits" class that calls the default constructor for initialization?


A. Fruits(f1) = new Fruits();

B. Fruits f1 = new();

C. Fruits f1 = new Fruits();

D. Fruits *f1 = new Fruits();

E. Fruits *f1 = new Fruits;


1
Expert's answer
2021-04-23T09:19:40-0400

"C" correct answer


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog