Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

what would I use instead of ternary operators?

807580Jan 18 2010 — edited Jan 20 2010
i came across some code I wanted to manipulate to help with a file input class we have to create for class, and the code contains : and ? and our teacher frowns upon us using those operators for what ever reason, so dose : not mean like a for loop? and does ? not mean a if statement?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2010
Added on Jan 18 2010
27 comments
981 views