Read & Write About The Tools You Use

For Developers | By Developers

Top Rated Tools

Recently Added Tools

Read Reviews

Read what other developers are saying about the tools you use.

Write Reviews

Share your opinion about the tools you use.

Join the Evans Data Developer Panel!

As a DevNet panelist you will:

1. Have your voice heard on hot topics, innovative technologies and key initiatives.
2. Receive points for every validated survey submission.
3. Redeem award points for cash.

SOLVE THIS CODE

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

Newsletter

Get weekly reviews sent directly to your inbox!