Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) what is the difference between static class and singleton class? can we create static class?
L&T, Octazen, Vamsi Labs,
2 6375ublic 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 2825
How do you represent a space in regex java?
Can a method be static and synchronized?
Should you use singleton pattern?
What is statement and preparedstatement in java?
Is security a cross cutting concern?
What do you mean by order of precedence and associativity?
What are sessions in servlets?
What is the use of spring boot application? : Spring Boot
What is the use of applicationcontextaware in spring?
Which of the following classes will have more memory allocated?
Is hibernate sessionfactory singleton?
Can we fetch the attributes related to a servlet on a different servlet?
What is the use of http-tunneling in rmi?
What does session evict () method do in hibernate?
How do you call the multiple lifecycle mechanisms configured for the same bean?