MCPcopy Create free account
hub / github.com/Manvityagi/PW-Skills-Java-Course-Codes / App2

Class App2

Lecture 12 Methods Live/src/Main.java:14–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13//app2 -> child class, app -> parent class
14class App2 extends App{
15 void printFromApp2(){
16 App2 obj = new App2();
17 System.out.println(obj.a); //public
18 System.out.println(obj.b); //protected
19// System.out.println(obj.c);
20// System.out.println(obj.d);
21
22 }
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected