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 ...
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
A) TrueB) FalseExplanation: Comma Separates consecutive identifiers in a variable declaration while the Period . is Used to separate package names from subpackages and classes
Latest Answer : a)True ...
Skill/Topic: AWT & AppletsA) java.lang
In java,i can importing java.sql.package and i get resultset from database.but here i don,t implement the Result Set interface but i am using it.my question is where the interface definition are stored?