About Question com.enthuware.ets.scjp.v6.2.314 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
Deepa

About Question com.enthuware.ets.scjp.v6.2.314 :

Post by Deepa »

Does String class have hashCode() as a method?

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

Re: About Question com.enthuware.ets.scjp.v6.2.314 :

Post by admin »

Every class has this method because it is present in Object class from which every class directly or indirectly extends.

leisenstein

Re: About Question com.enthuware.ets.scjp.v6.2.314 :

Post by leisenstein »

It really seems like Oracle just wants people to memorize EVERY SINGLE method in the String and StringBuffer class. Then, try to trip them up by mixing/matching them in questions.

I realize you should have a good understanding of each, but memorizing the methods seems useless.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 12 guests