Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java or symbol


public class SuperClass {
    public void someInterestingMethod() {
        System.out.println("Superclass!");
    }
}

public class DerivedClass extends SuperClass {
    public void someInterestngMethod() {
        System.out.println("Derived class!");
    }
}

Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #java #symbol
ADD COMMENT
Topic
Name
6+5 =