Either extend the class to create a new type
or use the class's constructor to make each instance of the class different by passing it values as needed.
Type: Posts; User: Norm
Either extend the class to create a new type
or use the class's constructor to make each instance of the class different by passing it values as needed.
Try making a constructor to do the work.
Calling a class's constructor from inside of its constructor can make an infinite call/loop possible.
Sorry, that is exactly where the error is...
What are you trying to do? That anonymous class attempt looks wrong.
Why not use the class's constructor?
The compiler's full error message has a better explanation of the error. Trying to type...
Where is shipName defined? The compiler can not find its definition.
Hard to say without seeing what the errors are.
Copy the full text of the compiler's error messages and paste them here.
The code tags you used don't work. Please fix them.
Copy and paste the code and the error message when the internet connection comes back.
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
Please copy the full text of the error message and paste it here. It...