MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / Derived

Class Derived

Programs/derivedConstructor.java:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 }
11}
12class Derived extends Base {
13 public Derived() {
14 System.out.println("Derived class constructor called!"); // Will be called after base class constructor
15 }
16}
17class Derived1 extends Derived {
18 public Derived1() {
19 System.out.println("Derived1 class constructor called!"); // Will be called after the first derived class

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected