When do we use synchronized methods in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

ublic 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 Answers  


Explain the difference between jvm and jre?

0 Answers  


What is Servlet?

8 Answers  


What is identifier in java?

0 Answers  


What is procedure overloading?

0 Answers  


Which method is used to find that the object is exited or not?

2 Answers  


Why do we need main method to execute a java program?

1 Answers   Virtusa,


What is difference between printf and scanf?

0 Answers  


If a method is declared as protected, where may the method be accessed?

0 Answers  


Explain about fail safe iterators in java?

0 Answers  


How we can execute any code even before main method?

0 Answers  


can we overload main method?

8 Answers   TCS,


Categories