Latest Answer : Thisb java.lang.reflect package is uesd retrieve the member info for any loaded class.for example,Class c=Class.forName("java.lang.String");Method m[]=c.getDeclaredMethods();now m contains all declared method for String classhere String is loaded class.this ...
Latest Answer : java.lang package ...
Latest Answer : To convert java program to .exe file, we have to first complie that java program,which is generated a bytecode in the form of hexadecimal with the extension .class file. Then execute the program. For example suppose the program name is xyz . javaD:>javac ...
I want to fetch the URL address of the Internet Explorer through java program , what ever the user will write in the address of the Internet Explorer should be save into the variable of java program
A) main threadB) thread groupC) child threadD) thread pool
Latest Answer : Main thread no doubt in that....after execution of mainthread only it will split int no of child threads and so on ... ...
State true or false :- When two threads are waiting on each other and can't proceed the program is said to be in a deadlock?
A) TrueB) False
A) Java CompilerB) Java Interpreter.C) Both of the aboveD) None of the aboveExplanation: The Java Compiler is used for compilation and the Java Interpreter is used for execution of the application.
Latest Answer : ContradictoryFor executing, Interpreter is used. Answer should be Bif you are going logically to the question, there is no answer,to execute a java program, 1. Check for java pakages, 2. Check for jre, 3. write java program, 4. compile, 5. execute.My ...
In order for a source code file, containing the public class Test, to successfully compile, which of the following must be true?
A) It must have a package statementB) It must be named Test.javaC) It must import java.langD) It must declare a public class named Test
State true or false :- All the classes in java.lang package are automatically imported when a program is compiled.
A) TrueB) False