About Question com.enthuware.ets.scjp.v6.2.314 :
Moderator: admin
About Question com.enthuware.ets.scjp.v6.2.314 :
Does String class have hashCode() as a method?
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.314 :
Every class has this method because it is present in Object class from which every class directly or indirectly extends.
If you like our products and services, please help us by posting your review here.
Re: About Question com.enthuware.ets.scjp.v6.2.314 :
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.
I realize you should have a good understanding of each, but memorizing the methods seems useless.
Who is online
Users browsing this forum: No registered users and 37 guests