aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes static Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "static" Watch "static" New topic


Abhi Kumar

Joined: Sep 11, 2008
Posts: 24
Hi ,
Can any one explain about the static keyword,static methods and static method overiding ?

Thanks in advance ...
Ankit Garg

Joined: Aug 03, 2008
Posts: 9280

Abhi static is a very big topic in itself. Don't you think it would be better that you consult a book and then ask for specific queries here rather than asking for clarification on the whole topic...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Ryan Beckett
Ranch Hand

Joined: Feb 22, 2009
Posts: 192
Generally, a static member has only one copy of code per class which is shared between all instances of the class.
Ankit Garg

Joined: Aug 03, 2008
Posts: 9280

Maybe sun's tutorial will help you...
Santiago Bravo
Ranch Hand

Joined: Jul 25, 2008
Posts: 226
the Sun tutorials are a good starting point.

Also, the JLS is useful:

My Path to SCJP Certification My Path to SCWCD Certification
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: static
Similar Threads
property file dynamic vs static
static and non static methods
Single tone Vs Static
static and non static methods
WA #1.....word association