DEV Community

Viswaprasath
Viswaprasath

Posted on

What is the Output of this

Find the output of this Java program

program

This is very simple program.

An JSONObject is created with key as key1 and value as value1.
Then its passed to the method;
In that method for the passed JSONObject we will be putting the key as key1 and value as value2.

What will be the output of this program ?

Source Twitter

Top comments (0)