Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

How does a method in a derived class affect a method in a base class

  Asked By: Bill    Date: Jan 27    Category: Java    Views: 1153
  

Can anyone help me with this question

How does a method in a derived class affect a method
in a base class with the same name but a different
signature?

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Myrna Brown     Answered On: Jan 27

no effect....but derived  class method  override the
base class  method

 
Answer #2    Answered By: Reginald Thomas     Answered On: Jan 27

No effect indeed........................

 
Answer #3    Answered By: Seth Anderson     Answered On: Jan 27

Regarding the derived  class overriding the base
class.... The signatures ie (parameters) are different
for both the method... so the derived method  will not
override the base  method...only thing same between
them is that they have the same method name....

 
Answer #4    Answered By: Jeanne Lawson     Answered On: Jan 27

did you check the path after you've got installed Oracle 9i ?

type java -version to see if you're running 1.3 or 1.4 .. if true, you should
make changes on pathname.

 




Tagged: