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?
1476java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?
1 3296what is the difference between static class and singleton class? can we create static class?
L&T, Octazen, Vamsi Labs,
2 3522ublic 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 1407
Is it necessary that each try block must be followed by a catch block?
Explain with example the concept of constant variable in java.
What is return in java?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
Is int a class in java?
What do you mean by a JVM?
Write a program to find the greatest of three numbers in java?
How do you sort in ascending order in java?
Is java code slower than native code?
When should I use singleton?
Why null value is used in string?
explain what is transient variable in java?
How does hashmap work in java ?
What is the output of the below java program?
What is byte code and why is it important to java’s use for internet programming?