-
Which of the following classes is used to perform basic console I/O?
A) SystemB) SecurityManagerC) MathD) Runtime
-
-
Core Java Question
Will it compile and run?? If No ... please explain?
java
public class Test{
public static void main(String asd[]){
System.out.println(" Test!! ");
}
}
protected class A{
}
private class B extends A{
}
-
Java - How to convert string to charArray ?
String str="Welcome To GeekInterview.com"
How can convert the above string to charArray without using any buit-in function in java?
Anyone to know the answer.please help me? i am new to learn java.Java doesnot support Multiline comment
Skill/Topic: AWT & AppletsA) TrueB) False
What is a transient variable
A transient variable is a variable that may not be serialized.
What value does readLine() return when it has reached the end of a file
The readLine() method returns null when it has reached the end of a file.
Java Include and Import Statement
What is difference between #include and import statement?
Polymorphism
Explain polymorphism to your 7 year old nephew.
Which of the following methods defined in Thread class are static?
a) sleep()
b) join()
c) start()
d) yield()Which package is always imported by default
The java.lang package is always imported by default.
What method is used to specify a container's layout
The setLayout() method is used to specify a container's layout.
Ans