logo

Crowdly

What is the output of the below Java program with constructors? public class Co...

✅ 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 with constructors?

public class Constructor2

{

  int count=10;

  Constructor2(int count)

  {

    System.out.println("Count=" + count);

  }

  public static void main(String[] args)

  {

    Constructor2 con = new Constructor2();

  }

}

67%
0%
33%
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!