This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Associate Certification (OCAJP 7) and the fly likes equals method on OCAJP1 SE 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Associate Certification (OCAJP 7)
Bookmark "equals method on OCAJP1 SE 7" Watch "equals method on OCAJP1 SE 7" New topic
Author

equals method on OCAJP1 SE 7

Clinton Braganza
Greenhorn

Joined: Nov 07, 2012
Posts: 3
I passed the OCJA SE 5/6 in September 2012.

I am taking the OCAJP1 SE 7 in December 2012.

I have a question to anybody who has taken the exam. Did you find many questions involving the equals method?
Robert Liguori
Author
Ranch Hand

Joined: Nov 27, 2007
Posts: 493
    
    5

Clinton Braganza wrote:I passed the OCJA SE 5/6 in September 2012.

I am taking the OCAJP1 SE 7 in December 2012.

I have a question to anybody who has taken the exam. Did you find many questions involving the equals method?


First, congrats on passing the OCA 5/6... and make sure you put your name on the OCA wall of fame (second table)... http://www.coderanch.com/how-to/java/OcajpWallOfFame.

And yes, you'll see .equals() on the exam quite a bit, along with ==. Make sure you know them well. The OCA 7 is not to be taken light-heartedly. Consider taking the Enthuware mock exams for 1Z0-803, the cost is only ten bucks for several OCA 7 mock exams.

-- Robert


My Blog (I frequently post on Java, JSF and NetBeans)
Danjel Nyberg
Greenhorn

Joined: Sep 12, 2012
Posts: 15

How to add your name to the wall of fame?

/Danjel
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3203
    
    2
Danjel Nyberg wrote:How to add your name to the wall of fame?

/Danjel

Try the "Edit" button on the top of that page.


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
Richard Reese
author
Ranch Hand

Joined: Jul 13, 2011
Posts: 57

Yes that is part of the test. Understanding how memory is allocated in the stack/heap helps explain when the == versus the equals method should be used.


Richard Reese
EJB 3.1 Cookbook
Java 7 New Features Cookbook
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: equals method on OCAJP1 SE 7
 
Similar Threads
equals() and hashcode()
Print table need some idea
Java 1.7 on OS-X?
OCA Java SE 7 Associate Study Guide
OCA Java 7 - preparing