Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

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: