This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Static example  RSS feed

 
David Coons
Greenhorn
Posts: 6
Chrome Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just figured out how 'static' works. This is a simple example I worked out to keep in my notes.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Lucky J Verma
Ranch Hand
Posts: 278
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct !
Static means - at class level
non static -object/instance leve
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!