my dog learned polymorphism*
The moose likes Java in General and the fly likes Method not recognised Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Method not recognised " Watch "Method not recognised " New topic
Author

Method not recognised

Sweety S.
Greenhorn

Joined: Feb 26, 2004
Posts: 9
I have a class A with a method insert.
The class B has a method insert which contains the object of class A and the method insert of A is then invoked.
Both A and B are in the same package .
I get an error message at the line
a.insert();
saying "cannot resolve symbol" pointing towards the insrt method

Plz help me
Thanks in advance
Bikramjit Singh Bajwa
Ranch Hand

Joined: Nov 23, 2003
Posts: 39
Paste your code, that would be helpfull to solve your problm.
Chakk de
Bikram
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Method not recognised