What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
1928java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?
1 4211what is the difference between static class and singleton class? can we create static class?
L&T, Octazen, Vamsi Labs,
2 4959ublic 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 2008
How do I start learning java?
What is the largest number a double can hold?
Is java still relevant?
What are different types of control structures?
What is data type modifier?
Which collection is sorted in java?
What is a blocking method in Java?
What is a byte array?
What is bufferedwriter?
What is a treemap in java?
What is void in java?
When do you call copy constructor?
What is defined as false sharing in the context of multithreading?
What do you mean by local variable and instance variable?
How do you represent a space in regex java?