About Question enthuware.ocajp.i.v7.-2-.851 :
Moderator: admin
-
- Posts: 22
- Joined: Sat Jun 30, 2018 6:11 am
- Contact:
About Question enthuware.ocajp.i.v7.-2-.851 :
Hello. Could you tell me, in one of the tests, it was written that the String and StringBuilder classes are final and that I can not inherit them. And here it is written that the String class has 3 subclasses. How can it be?
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.851 :
I don't see that written anywhere. Can you post a screenshot of where you saw it?
Paul.
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 22
- Joined: Sat Jun 30, 2018 6:11 am
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.851 :
Hello. I found it. This is Q_ID: enthuware.ocajp.i.v7.2.956 : "Working with data types" in Quest. 15 of 20 the explanation said:
This will not compile because String is a final class and final classes cannot be extended. There are questions on this aspect in the exam and so you should remember that StringBuffer and StringBuilder are also final. All Primitive wrappers are also final (i.e. Boolean, Integer, Byte etc). java.lang.System is also final.
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.851 :
It is true that String, StringBuilder, and StringBuffer are final. But you claimed, " And here it is written that the String class has 3 subclasses". Where did you see it ? Please post a screen shot.
If you like our products and services, please help us by posting your review here.
-
- Posts: 22
- Joined: Sat Jun 30, 2018 6:11 am
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.851 :
Hi Paul. Sorry, I'm confused on this issue. I passed the exam today, I got 75. About 6 questions were almost the same as in your "last day's test" ( I got 69 on it ). You helped me a lot, you are very cool, thank you very much !! Stephie.
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.-2-.851 :
No problem. Congratulations on passing.
Happy to know that our material was helpful.
If you could, please post a review here: https://www.amazon.com/gp/product/B00TV ... =ewhome-20
thank you,
Paul.
Happy to know that our material was helpful.
If you could, please post a review here: https://www.amazon.com/gp/product/B00TV ... =ewhome-20
thank you,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Bing [Bot] and 84 guests