Skip to content

Instantly share code, notes, and snippets.

@Bharathh-Raj
Last active June 7, 2021 01:22
Show Gist options
  • Save Bharathh-Raj/f5b01dd6513eba8dcf059eba94ec8e32 to your computer and use it in GitHub Desktop.
Save Bharathh-Raj/f5b01dd6513eba8dcf059eba94ec8e32 to your computer and use it in GitHub Desktop.
S.O.L.I.D - Single Responsibility Principle - 1
class Student{
String displayAsString(){}
void save(){}
void delete(){}
double calculateScore(){}
bool didStudentPass(){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment