Getter and Setters not working?

后端 未结 9 2025
悲&欢浪女
悲&欢浪女 2021-01-27 02:12

I\'ve got two classes right now: RemindersDAO.java and ViewLocalReminders.java.

I\'m trying to get access to a variable that\'s in ViewLocalReminders.java and I\'m tryin

9条回答
  •  余生分开走
    2021-01-27 02:22

    public void setReminderID(long id) {
        this.reminderID = id;
        System.out.println("Reminder ID Value in Setter: " + reminderID);
    }
    

提交回复
热议问题