I know what abstraction is but i want to know what is the purpose of using it, if we have to implement all the functions why not just write them for example
interface Moveable{
public void move();
}
class Human implements Moveable{
public void move(){
System.out.println("walk");
}
}
//or just write (why use abstraction)
class Human{
public void move(){
System.out.println("walk");
}
}