Hi Srvani, Welcome to JavaRanch!
Please
Use Code Tags while posting any code here, since it becomes very difficult to read the code without them. You can click the "Edit" button and add them in your post above.
I checked the code that you have pasted here and there are a couple of compiler errors:
- There is no method named
getBidValue().
- Not sure what is
Suites in the last
System.out.println() in the main method.
Assuming that you have posted the code correctly from the study guide, there seems to be an error in the guide.
But not sure what the correct answer would be, since the complier errors are on lines 15 and 17 in your code. However, none of the options provided for the answer seem to mention these line numbers.
-Pushkar