what is the difference between static class and singleton class? can we create static class?
L&T, Octazen, Vamsi Labs,
2 4958ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }
1 2007
Explain importance of throws keyword in java?
Can remove() be a Stateless Session bean?
Is java util list serializable?
How the flow of various requests happens in struts application?
What are the escape sequences in java?
Does java return by reference?
What is a singleton class in Java?
What is pointcut expression?
What are the callback annotations for the stateless bean?
What is the old name of java?
What is the purpose of a volatile variable?
What are different types of references?
How can I connect mysql or oracle with java?
What is the purpose of form-be tag in struct-config.xml?
What is message driven beam?