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

Moderator: admin

Post Reply
Marco
Posts: 3
Joined: Thu Apr 12, 2012 9:16 am
Contact:

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

Post by Marco » Thu Apr 12, 2012 9:18 am

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.

admin
Site Admin
Posts: 8192
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin » Thu Apr 12, 2012 9:55 am

= 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.
If you like our products and services, please help us by posting your review here.

Marco
Posts: 3
Joined: Thu Apr 12, 2012 9:16 am
Contact:

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

Post by Marco » Thu Apr 12, 2012 11:06 am

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.

admin
Site Admin
Posts: 8192
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin » Thu Apr 12, 2012 12:08 pm

But I don't see = as one of the options!
2.1285.gif
2.1285.gif (15.25 KiB) Viewed 5104 times
If you like our products and services, please help us by posting your review here.

Marco
Posts: 3
Joined: Thu Apr 12, 2012 9:16 am
Contact:

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

Post by Marco » Thu Apr 12, 2012 4:23 pm

Oops, it looked like equals on my display. Sorry for the mistake.

shining_dragon
Posts: 14
Joined: Sat Mar 01, 2014 9:12 am
Contact:

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

Post by shining_dragon » Mon Mar 03, 2014 8:09 am

in the explanation, what does CASE_INSENSITIVE_ORDER mean? And also is it included in the exam?

admin
Site Admin
Posts: 8192
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin » Mon Mar 03, 2014 8:35 am

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.
If you like our products and services, please help us by posting your review here.

flex567
Posts: 199
Joined: Mon Apr 02, 2018 8:40 am
Contact:

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

Post by flex567 » Tue Aug 14, 2018 5:26 pm

What is this CASE_INSENSITIVE_ORDER for, how can it be used? Can you provide an example?

admin
Site Admin
Posts: 8192
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin » Tue Aug 14, 2018 8:07 pm

If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 10 guests