• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

static

 
Abhi Kumar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Can any one explain about the static keyword,static methods and static method overiding ?

Thanks in advance ...
Regards
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Ryan Beckett
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally, a static member has only one copy of code per class which is shared between all instances of the class.
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe sun's tutorial will help you...
 
Santiago Bravo
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic