-
Java Virtual Functions
How to achieve Virtual Functions in Java?
-
Find the Output
class A{ public static void main(String[] a){ System.out.print(String.valueOf(1)+String.valueOf(2)); String s1="s1"; String s2=s1.toString(); System.out.print(","+(s1==s2)); }}
-
Java Collection
What is the default capacity and load factor in Java Collection? Explain its role.
-
System Class
What is the use of system class?
-
System.out.println()
Why do we use 'out' in System.out.println();?
-
BLOB & CLOB
What is the expansion for BLOB & CLOB?
-
Java Super Class
Which is the most super class of all the Java classes?
-
Exception Handling
What is the output of the following program, When tested under JDK 5.0class ExceptionDemo{ public static void main(String[] args) { int a[] = new int[] {1,2,3,4,5}; try{ System.out.prinltln(a[6]); } catch(Exception e) { System.out.println("Catching Exception ..."); } catch(ArrayIndexOutofBoundsException ae) { System.out.println("Catching ArrayIndexOutOfBounds...
-
-
-
-
-
-
-
-
3.which one is better to create a thread by implementing Runnable or By Extending Thread in java?">
1.why constructor does not have return type in java?2.why static does not support " this" and "super" keyword in java ?3.which one is better to create a thread by implementing Runnable or By Extending Thread in java?
-
An interface contains _________ methods
Skill/Topic: InheritanceA) AbstractB) Non-abstract C) Implemented D) Un-implemented
-
Java is Architectural _____________
A) DependentB) NeutralC) IndependentD) None of the above
-
An _________ is a special kind of Java program that is designed to be transmitted over the Internet
A) ViewletB) AppletC) ServletD) Object
-
When you read your e-mail, you are viewing _________ data
A) ActiveB) PassiveC) BothD) None of the above
-
What is the data type for the parameter of the sleep() method?
A) doubleB) intC) longD) float
-
-
-
-
-
To what value is a variable of the String type automatically initialized
The default value of an String type is null.