About Question enthuware.ocpjp.i.v11.2.3236 :
Moderator: admin
-
- Posts: 10
- Joined: Fri Jun 28, 2019 10:58 am
- Contact:
About Question enthuware.ocpjp.i.v11.2.3236 :
Why //3 will not give compilation error ?
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3236 :
There is no reason for it to not compile. Why do you think it should fail compilation?
-
- Posts: 1
- Joined: Sat May 09, 2020 1:09 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3236 :
How do you know type of array in args[]?
From what phrase in question text reader can assume that it is "String args[]" hidden in var?
If this line is already caused compilation error how can i rely on assumption that "if it was correct code there would be "String args[]""
Im also think quesstion is really missleading in that way.
From what phrase in question text reader can assume that it is "String args[]" hidden in var?
If this line is already caused compilation error how can i rely on assumption that "if it was correct code there would be "String args[]""
Im also think quesstion is really missleading in that way.
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.i.v11.2.3236 :
I understand your point but you need to select options and, given the complete code listing, the intention of the question is quite clear and therefore, //3 is not a problem.
The thing is, you can argue about the right answer here but you can't do that in the real exam. Our intention is only to make the readers aware of how to answer in the real exam. If you try to read too much into the question beyond what is quite apparent, you will lose marks.
The thing is, you can argue about the right answer here but you can't do that in the real exam. Our intention is only to make the readers aware of how to answer in the real exam. If you try to read too much into the question beyond what is quite apparent, you will lose marks.
Who is online
Users browsing this forum: No registered users and 14 guests