Question: 1) Is it possible to partially implement an interface? Justify your answer with a Java example. 2) Discuss whether the following UserSettingService class violates the
1) Is it possible to partially implement an interface? Justify your answer with a Java example.
2) Discuss whether the following UserSettingService class violates the Single Responsibility principle or not? If yes, suggest a solution.
public class UserSettingService
{
public void changeEmail(User user)
{
if(checkAccess(user))
{
//Grant option to change
}
}
public boolean checkAccess(User user)
{
//Verify if the user is valid.
}
}
3) Briefly describe Scrum Sprint and Burndown chart with respect to the Scrum methodology. How can we use scrum for the large scale software system?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
