Posted by: Pdfprep
Post Date: November 18, 2020
HOTSPOT
You work on a team that develops e-commerce applications. A member of the team creates a class named DB that connects to a database. The class contains a method named query. You need to initiate the DB class and invoke the query method.
How should you complete the code? To answer, select the appropriate code segments in the answer area. NOTE: Each correct selection is worth one point.
Answer:
Explanation:
References:
https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html#invoke-java.lang.Objectjava.lang.Object…
Leave a Reply