File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Junior/Associate Certification (SCJA,OCAJ 5/6/8) and the fly likes equals() and hashcode() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Junior/Associate Certification (SCJA,OCAJ 5/6/8)
Bookmark "equals() and hashcode()" Watch "equals() and hashcode()" New topic

equals() and hashcode()

Andy James
Ranch Hand

Joined: Aug 22, 2005
Posts: 90
Are both equals() and hashcode() on the Java SE 7 Programmer I exam? The exam objectives mentions only method equals().

Also, I noticed that hashcode() is covered in Java SE 7 Programmer II exam.

Robert James Liguori
Ranch Hand

Joined: Nov 27, 2007
Posts: 550

Nope, the method is not on the OCAJP7 exam.

-- Robert

My Blog (I frequently post on Java, JSF and NetBeans)
Noirita Bera

Joined: Jul 02, 2012
Posts: 18

many of those who have already passed the OCA 7 certification of late, saying that they had found questions on inner class, linked list etc. but these topics are not in the exam objective.. tats a bit confusing.

Noirita Bera
Keep learning -- cheers
I agree. Here's the link:
subject: equals() and hashcode()
It's not a secret anymore!