About Question enthuware.ocajp.i.v7.2.1285 :
Moderator: admin
-
- Posts: 3
- Joined: Thu Apr 12, 2012 9:16 am
- Contact:
About Question enthuware.ocajp.i.v7.2.1285 :
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.
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
= 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.
So I am not sure I understand your question. Do you mean you selected this option but were still evaluated as wrong?
HTH,
Paul.
-
- Posts: 3
- Joined: Thu Apr 12, 2012 9:16 am
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
The question was:
I chose: +, += and = as answers
The latter was marked wrong stating that '.' (dot) operator is the correct option instead.
And you had to select 3 options.Which of the following operators can be used in conjunction with a String object?
I chose: +, += and = as answers
The latter was marked wrong stating that '.' (dot) operator is the correct option instead.
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
But I don't see = as one of the options!
-
- Posts: 3
- Joined: Thu Apr 12, 2012 9:16 am
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
Oops, it looked like equals on my display. Sorry for the mistake.
-
- Posts: 14
- Joined: Sat Mar 01, 2014 9:12 am
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
in the explanation, what does CASE_INSENSITIVE_ORDER mean? And also is it included in the exam?
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
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.
String class is very much a part of the exam objectives so you should at least know about it.
-
- Posts: 202
- Joined: Mon Apr 02, 2018 8:40 am
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
What is this CASE_INSENSITIVE_ORDER for, how can it be used? Can you provide an example?
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
And also methods, right?dot (.) operator accesses members of the String object.
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1285 :
members = methods + fields.
Who is online
Users browsing this forum: No registered users and 5 guests