Jayesh Pawar

Greenhorn
+ Follow
since Sep 28, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jayesh Pawar



Output : Base Class


-> In Java, static method belongs to the class and not to any particular instance of the class. Also, static methods are never inherited. If yes, then how come new B().printName() calls the Base class method printName() ?

11 years ago