#How to compile file on bluej, what's wrong with my code?
1 messages ยท Page 1 of 1 (latest)
โ This post has been reserved for your question.
Hey @lilac hornet! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
What are we supposed to look at?
https://dev.java/ please revisit the basics and use idea
in that code:
- type for journey1, journey2, journey3 missing
get.cardID???- method definitions outside of the class, after the closing
} - getSmartCardID: return type missing
- getSmartCardID: dead code after the first return, you cant return multiple things like this
in this one, you're closing the class too early
in this one: everything's fine until the last method, where the code in it is considered dead because of the return before it. i assume you wanted to put that code in its own method, but you haven't done that
and this one is just beyond saving
im dead ๐คฃ
ohhhh
okay
Thank you for this
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.