1.

Which system property stores installation directory of JRE?(a) user.home(b) java.class.path(c) java.home(d) user.dirThe question was asked by my school principal while I was bunking the class.This interesting question is from Environment Properties topic in portion Exploring java.lang & java.io of Java

Answer»

Correct choice is (c) JAVA.home

To explain I WOULD SAY: java.home is the INSTALLATION directory of Java Runtime Environment.



Discussion

No Comment Found

Related InterviewSolutions