Bookmark Topic Watch Topic
  • New Topic

problem on topic of static  RSS feed

 
sahil kumar garg sangrur
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi Guys!!!

Why are public and static interchangeable in java?

Thanks in advance
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
sahil kumar garg sangrur wrote:Why are public and static interchangeable in java?

They aren't. They mean two completely different things.

Winston
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
Unless you mean can they be used in any order, which question has already been answered in your other thread.

In which case I am closing this thread as a duplicate; please continue all discussions on that other thread.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!