I have got a problem. I want to write down a method, which returns me the name "name" of an object in the class Account, if there is an object with this name. If there is no name which equals the name "name" it should return a null.
Got anyone an idea, beacause I tried the way over "equals" and with "instanceof" but none worked...
public Account getAccount(String name) {
}
Aucun commentaire:
Enregistrer un commentaire