aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes inheriting static members Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "inheriting static members" Watch "inheriting static members" New topic
Author

inheriting static members

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 309
Are the static attributes and methods of base class inherited in derived class.


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Joshua Ebarvia
Ranch Hand

Joined: Sep 25, 2007
Posts: 70
Naresh Chaurasia wrote:Are the static attributes and methods of base class inherited in derived class.


Yes...



Please try this


Lovin' java
Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1803
If it is not private, then it will be inherited to the sub classes.


Krishna Srinivasan
OCAJP Mock Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: inheriting static members
 
Similar Threads
outer class
Static class??
static inner classes
Static Class
static class