1.

Which of this package is used for analyzing code during run-time?(a) java.applet(b) java.awt(c) java.io(d) java.lang.reflectThis question was addressed to me in semester exam.This intriguing question comes from Core Java API Packages in portion Interfaces & Packages of Java

Answer» RIGHT option is (d) java.lang.reflect

To EXPLAIN: REFLECTION is the ABILITY of a SOFTWARE to analyze itself. This is provided by java.lang.reflect package.


Discussion

No Comment Found

Related InterviewSolutions