Skip to content

Instantly share code, notes, and snippets.

@tezifoj
Created December 4, 2025 07:09
Show Gist options
  • Select an option

  • Save tezifoj/fcf093743a77b743f6bf3ce6850af29b to your computer and use it in GitHub Desktop.

Select an option

Save tezifoj/fcf093743a77b743f6bf3ce6850af29b to your computer and use it in GitHub Desktop.
package classes;
public abstract class Observable {
private String name;
public Observable(String name){
this.name = name;
}
public String getName() {
return name;
}
public abstract String getDescription();
@Override
public String toString() {
return getDescription();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment