what is the difference between static class and singleton class? can we create static class?
L&T, Octazen, Vamsi Labs,
2 4965ublic 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 2016
What is the difference between preemptive scheduling and time slicing in java programming?
What is JDBC Batch Processing and what are it’s benefits?
What is cglib in spring?
How to link two forms in java swing?
What is mean by exception?
What is an eror in java?
What are tuning jvm parameters?
What are the autowiring modes?
Explain bean lifecycle in spring framework?
What is the difference between assignment and initialization?
What is declaration?
What are different states of an entity bean in hybernate?
Do you need to import math in java?
Write all the phases defined in servlet life cycle?
Is sizeof a keyword in java programming?