Find an item of a list with getname()

QuestionsFind an item of a list with getname()
sethbeckerman5 Staff asked 4 years ago

Hi yall im trying to get the name of a list. The user input that list. I tried to get a name using 2 methods but it wont let me:
this is the error that im having:
the list:
This is how i am coding the mehtods:
From class AgregarUsuario

and this is the class Usuario so i can get the name by using getName()

I alsoo tried with lambda expression but didnt work.


View on Stack Overflow