Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Please ask technical questions in the appropriate category. Thank you!

Error: The type must implement the inherited abstract method

843789Mar 5 2010 — edited Mar 5 2010
I am getting the error, The type must implement the inherited abstract method, with the method runProcess() in the class ProcessRunner. Why am I getting the error? How can I get rid of the error?

Any help would be much appreciated.
public abstract class Calculation<T>
  implements Validation<T, Void>{
	
  public final Void calculate(T amount){
    execute(amount);
    return null;
  }

  public abstract void execute(T paramT);
}


public class ProcessRunner {
	
	private void runProcess(List<String> process) {
	    ListMaker.with(process).forEach(new Action() 
	    {
	      public void execute(String from) {
	    	  .....
		  .....
	      }
	      
	      
	    });
	}
	    
	
}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2010
Added on Mar 5 2010
2 comments
8,992 views