It's not a secret anymore!
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes am i correct Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "am i correct" Watch "am i correct" New topic
Author

am i correct

josephine chen
Ranch Hand

Joined: Oct 29, 2002
Posts: 216
My understanding was you can overload a method ONLY in the same class where it is declared and you can ONLY override methods in subclasses of parent classes...Am I right ??
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18670
You can overload a method in the same class OR in a subclass; you can override in a subclass.


"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: am i correct
 
Similar Threads
SCJP1.4 exam is available only this month ?
Chaos
Connects to more than one server !!!!
SCJP5 or SCJP6 Voucher for Sale - US
Sequence diagrams