Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrajaktaSathe/Java
/ main
Method
main
Programs/Overriding.java:13–17 ·
view source on GitHub ↗
( String args[])
Source
from the content-addressed store, hash-verified
11
System.out.println(
"Boy is eating"
);
12
}
13
public
static
void
main( String args[]) {
14
Boy obj =
new
Boy();
15
//This will call the child class version of eat()
16
obj.eat();
17
}
18
}
Callers
nothing calls this directly
Calls
1
eat
Method · 0.95
Tested by
no test coverage detected