Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java.lang.AbstractMethodError

Status
Not open for further replies.

fatcodeguy

Programmer
Feb 25, 2002
281
CA
Anyone know how I fix this. this is my function:

public int rowCount(ResultSet rs){
int numrow=0;
try{
while(rs.next()){
numrow++;
}
rs.beforeFirst();
}catch(SQLException ee){}
return numrow;
}
and I call it in another function as
int temp=rowCount(resset);

But I get that error.. anyone know how to fix it.. appreciate anyt help.. thanks
 
I won't say that I am completely familiar with this type of situation but when I have had an "abstract" problem it was because of the data type I was using.

Like Calendar.

you can't say

myCal = new Calendar();

it has to be

myCal = Calendar.getInstance();



Martin I don't suffer from insanity.
I enjoy every minute of it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top