Błędy w initializeIdAndName

  • 8
  • Niedostępne
1. Pomyśl, co w programie jest nie tak. 2. Zaimplementuj metodę initializeIdAndName w klasie User. 3. Metoda initializeIdAndName klasy User musi zwracać User. 4. Popraw program tak, aby się kompilował i działał poprawnie.
Nie możesz wykonać tego zadania, ponieważ nie jesteś zalogowany.
Komentarze (1)
  • Popularne
  • Najnowsze
  • Najstarsze
Musisz się zalogować, aby dodać komentarz
Msaters
Poziom 20 , Legnica, Poland
29 marca 2020, 15:53
static class User implements DBObject { long id; String name; public User initializeIdAndName how does it work when I initialize "User" in class "User" ? does it work like that : it goes till "User" and than go back to the begin of class User ? or it just say that u can only use there "User" or what ?