Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public static void main(String[] args){
System.out.println("JAVA - INHERITANCE");
B objectB = new B();
objectB.method();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment