Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How Do You Alter A Default Constructor In Java?

0
Posted

How Do You Alter A Default Constructor In Java?

0

To put it simply, your constructor has absolutely nothing to do with your problem. This constructor doesn’t do anything with display at all (other than set the Colour). You’ll need to look at whatever code you have that displays your values to look for your problem. The problem is not here. EDIT: I’m guessing that “Frog” is a display element. If the creation of your Frog objects is what places them on your display (possible with some UI APIs), you might want to take a look at the order that you create op1, op2, tens, and units that you pass into this constructor.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123