Core Java (6529)
Advanced Java (552)
Swing (223)
EJB (402)
Java Networking (49)
Hibernate (1009)
Spring Framework (1486)
Java J2EE AllOther (116) what is the difference between static class and singleton class? can we create static class?
L&T, Octazen, Vamsi Labs,
2 6232ublic 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 2749
What is difference between @controller and @restcontroller?
How can we use spring to create a restful web service that returns json?
Mention some features of java?
Different types of hibernate instance states?
Which is latest technology in java?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
Can we restart a thread already started in java?
Explain about the architecture of web sphere?
What do you understand by access specifiers in Java?
What is function and method in java?
Is a class a subclass of itself?
Can a constructor be protected?
What is jfc swing in java?
What is meant by managedserver?
How can a servlet be used to generate plain text instead of html?