Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Inheritance Question
- From: bparanj at excite.com (Bala Paranj)
- Subject: Inheritance Question
- Date: Sat Nov 12 19:30:16 2005
Greetings Java Gurus,
Please look at the following code.
class A {
methA (){
print "A";
}
}
class B extends A {
methA() {
print "A in B";
}
}
class C extends B {
methA() {
print "A in C";
}
}
How can I call the methA in class A from class C ?
Thanks for your time,
Bala
________________________________________________________________
Get FREE voicemail, fax and email at http://voicemail.excite.com
Talk online at http://voicechat.excite.com
---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- Follow-Ups:
- RTF Editor
- From: Boubakar Saim Haddache
- RTF Editor
- Prev by Date: guid in Java
- Next by Date: Inheritance Question
- Previous by thread: a couple questons on printing in JDK 1.2.2
- Next by thread: RTF Editor
- Index(es):