How should you complete the code?

Posted by: Pdfprep Category: 98-388 Tags: , ,

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.Object­java.lang.Object…­

Leave a Reply

Your email address will not be published.