In a 250 characters or more, write a review of a development tool on DevMetric.com and be automatically entered into a drawing to win a $250 Amazon Gift Card! Write a review on an existing tool or add a new one. Entering is easy!
Can't find your tool? Select "Submit New Tool" to add a new tool and write a review.
All 250 character reviews submitted until the end of the month are instantly submitted into a drawing to win! Earn one additional entry for each review, up to 30. Drawing will occur 1 week after the contest closes and winners will be chosen based on completeness/thoroughness of review.
What does this code do?
public class Demo { public void method1() { synchronized (String.class) { System.out.println("on String.class object"); synchronized (Integer.class) { System.out.println("on Integer.class object"); } } }
Programming Language: Java