educative.io

Educative

Admin class is incorrect

You are referring to Customer but we don’t have Customer class, it should be Member instead

public class Admin extends Person {

public boolean blockUser(Customer customer);

public boolean unblockUser(Customer customer);

public boolean enablePage(Page page);

public boolean disablePage(Page page);

}


Type your question above this line.

Course: https://www.educative.io/collection/5668639101419520/5692201761767424
Lesson: https://www.educative.io/collection/page/5668639101419520/5692201761767424/5644309118320640

Hello @Prabhat_Jha ,
Thanks for highlighting the issue. We have updated the prototypes of member functions of Admin class.
public class Admin extends Person {
public boolean blockUser(Member member);
public boolean unblockUser(Member member);
public boolean enablePage(Page page);
public boolean disablePage(Page page);
}