vendredi 5 août 2016

Is creating a method considered an abstraction?

Let's say I have this method

void print(String msg){
 System.out.println(msg);
}

Since I created a method that prints, I don't have to know how it prints it, so is this considered an abstraction, or am I getting it all wrong?

Aucun commentaire:

Enregistrer un commentaire