#Help with college Practice book
1 messages · Page 1 of 1 (latest)
Have you tried running the code yourself?
Yes
It said c1 is not declared
But if I add another line like
Cricle c1=new Circle();
Then it said c1 is declared already
C1 is declared, just not initialized.
So is there error cuz c1 is not initialized?
If you run the code you will get the result.
We can't see your options there, but try reasoning through it and eliminating some.
Think of the state of your objects, and what will logically happen.
What about 500?
I can't understand this line
boolean b2=fix(b1);
What is fix a keyboard?
What do you think it is?
Probably works same as ! in Boolean?
Do you know how methods work?
yes
Do you know how you use them?
But that method might be part of the same class.
So not needed dot to run the method?
It acts on the current object.
You're welcome.
it wont


