✅ 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();
}
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!