logo

Crowdly

Browser

Add to Chrome

What is the output of the below Java program? public class TestingConstructor ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What is the output of the below Java program?

public class TestingConstructor

{

  void TestingConstructor()

  {

    System.out.println("Amsterdam");

  }

  TestingConstructor()

  {

    System.out.println("Antarctica");

  }

  public static void main(String[] args)

  {

    TestingConstructor tc = new TestingConstructor();

  }

}

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.spit.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome