If two threads call a static method at the same point of
time, what will happen?

Answer Posted / ashutosh dhar

Nd if it is Synchronized then which thread to be choosen
depends upon the OS.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a instance variable in java?

552


Explain with example the concept of constant variable in java.

637


How can we make a class singleton?

578


Explain about the performance aspects of core java?

555


What is java oops?

558






What is anti pattern in java?

520


Explain public static void main(string args[]) in java.

537


Is object a data type?

562


Why java applets are more useful for intranets as compared to internet?

580


Can a class have multiple subclasses?

586


What is the driver class?

567


If a variable is declared as private, where may the variable be accessed?

553


Can we return null in java?

643


Why is static used?

553


What is the maximum size of hashmap in java?

537