1.

Which object Java application uses to create a new process?(a) Process(b) Builder(c) ProcessBuilder(d) CreateBuilderThe question was asked by my college professor while I was bunking the class.My question is based upon Environment Properties in chapter Exploring java.lang & java.io of Java

Answer»

Right choice is (c) PROCESSBUILDER

The best I can explain: Java APPLICATION uses ProcessBuilder object to create a new process. By default, same set of ENVIRONMENT VARIABLES passed which are set in application’s virtual machine process.



Discussion

No Comment Found

Related InterviewSolutions