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?
2502java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?
1 5034what is the difference between static class and singleton class? can we create static class?
L&T, Octazen, Vamsi Labs,
2 6218ublic 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 2738
What is listnode in java?
If a method is declared as protected, where may the method be accessed?
What is definition and declaration?
What is the use of hashmap in java?
Is this valid in java ? Can we instantiate interface in java?
What is the instance of an object?
What is meant by method overriding?
What is the use of accept () method in java?
Can inner class have constructor?
What are the limitations of procedural programming approach?
What is the range of a character variable?
Why is static used?
What is the public method modifier?
Who developed java?
Explain the inheritance?