When do you declare a method or class abstract?

public abstract class class_namne{

public abstract void method()

{}

}