Possible Duplicate:
What is the reason behind “non-static method cannot be referenced from a static context”?
public void Sort(){
*some code*
}
public void displayResults()
{*more code*
}
public static void main(String[] args)
{
Sort();
displayResults();
}
Why am I getting this error? I have sort(); in another abstract class and then this class here is extending it.
-Confused