This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes it should be more ambiguous then previous version. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "it should be more ambiguous then previous version." Watch "it should be more ambiguous then previous version." New topic
Author

it should be more ambiguous then previous version.

wang hong gang
Greenhorn

Joined: Jan 10, 2002
Posts: 1
Hello, everybody!
Please consider the following two version of code:

ps:
Pl. use the [ code ] and [ / code ] tags when posting source code. It really helps.
Thanks.
- satya
[ January 11, 2002: Message edited by: Madhav Lakkapragada ]
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120
the declaration
void aMethod(char i) {
is the most specific method, read this post

http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=24&t=014026


SCJP2. Please Indent your code using UBB Code
 
 
subject: it should be more ambiguous then previous version.
 
Similar Threads
overriding method question and a super question.
overloading inherited method
question from Sun Guoqiao's homepage
///abstract///
this and super