Page 1 of 1

About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Thu Apr 12, 2012 9:18 am
by Marco
Is "=" considered as an operator? If yes it can take a String object on the right hand side. I marked it in this question and got the question wrong because of that.

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Thu Apr 12, 2012 9:55 am
by admin
= is indeed an operator and so is +=. I see that option 3 is += and is marked as a correct option.

So I am not sure I understand your question. Do you mean you selected this option but were still evaluated as wrong?

HTH,
Paul.

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Thu Apr 12, 2012 11:06 am
by Marco
The question was:
Which of the following operators can be used in conjunction with a String object?
And you had to select 3 options.

I chose: +, += and = as answers

The latter was marked wrong stating that '.' (dot) operator is the correct option instead.

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Thu Apr 12, 2012 12:08 pm
by admin
But I don't see = as one of the options!
2.1285.gif
2.1285.gif (15.25 KiB) Viewed 8726 times

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Thu Apr 12, 2012 4:23 pm
by Marco
Oops, it looked like equals on my display. Sorry for the mistake.

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Mon Mar 03, 2014 8:09 am
by shining_dragon
in the explanation, what does CASE_INSENSITIVE_ORDER mean? And also is it included in the exam?

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Mon Mar 03, 2014 8:35 am
by admin
It is a member of String class. http://docs.oracle.com/javase/6/docs/ap ... TIVE_ORDER

String class is very much a part of the exam objectives so you should at least know about it.

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Tue Aug 14, 2018 5:26 pm
by flex567
What is this CASE_INSENSITIVE_ORDER for, how can it be used? Can you provide an example?

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Tue Aug 14, 2018 8:07 pm
by admin

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Fri Jan 08, 2021 1:46 pm
by noeloo
dot (.) operator accesses members of the String object.
And also methods, right?

Re: About Question enthuware.ocajp.i.v7.2.1285 :

Posted: Fri Jan 08, 2021 10:30 pm
by admin
members = methods + fields.