how do I call the super class method and make call within

Hi There,

I have a class B which extends class A.

I'd like to call method in class B and I use it by calling super objectB.method, now objectB.method exists in class A and it needs to call another method in class A not B because it exists the same in B.

Is there a way?

thanks

[308 byte] By [timcodesa] at [2007-10-2 3:55:46]
# 1
A.this.method2();
MartinHilperta at 2007-7-15 23:16:55 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

Every time I am about to post the answer to your question, I read it again and realize I don't know what the question is. To call a method in the super-class you just do this:super.method(parameters)

But you seem to know that already because I see it in that stream of words you posted. How about posting some code that might clarify?

DrClapa at 2007-7-15 23:16:55 > top of Java-index,Other Topics,Patterns & OO Design...