Page 1 of 1

About Question enthuware.ocpjp.v11.2.3156 :

Posted: Fri Aug 05, 2022 4:32 am
by mansi29feb
Can we place semicolon after methods in java? What are the rules for placing them apart from placing them at the end of line?

Re: About Question enthuware.ocpjp.v11.2.3156 :

Posted: Fri Aug 05, 2022 4:37 am
by admin
They form No Op so you can pretty much put them anywhere. But don't worry you will not be tested on that in the exam.

Re: About Question enthuware.ocpjp.v11.2.3156 :

Posted: Fri Aug 05, 2022 4:50 am
by mansi29feb
Okay. Thanks admin.

Re: About Question enthuware.ocpjp.v11.2.3156 :

Posted: Sun Feb 04, 2024 11:59 am
by powerofviva
'Got collection', not 'got collection' :)

Re: About Question enthuware.ocpjp.v11.2.3156 :

Posted: Sun Feb 04, 2024 9:20 pm
by admin
You are right. Should be fixed.
thank you for your feedback!