File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "static" Watch "static" New topic
Author

static

Abhi Kumar
Greenhorn

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

Thanks in advance ...
Regards
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9321
    
  17

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
Sheriff

Joined: Aug 03, 2008
Posts: 9321
    
  17

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:

http://java.sun.com/docs/books/jls/second_edition/html/jIX.fm.html


Santiago
My Path to SCJP Certification My Path to SCWCD Certification
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: static