Java, Programming Languages, Programming, Inheritance, Computer Science.
void main(String[] args) { SuperClass superClass1 = new SuperClass("value1", "value2"); superClass1.printValues(); SuperClass superClass2 = new SuperClass("value1", "value2", "value3", "value4"); superClass2.printValues(); } } // Output: //SuperClass: value1 | value2 | initialized inside Instance