dimanche 2 octobre 2016

Can I remove a method from a class instance in java?

Lets say I have a class called 'Foo', with some methods:

 public class Foo{
    public void a(){
       //stuff
    }

    public void b(){
       //stuff
    }
 }

Can i remove the method 'a' from an instance of Foo?





Aucun commentaire:

Enregistrer un commentaire