• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

final variable are class variables? is it right?

 
vikram choudhary
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read in Java Programming book by E. balaguruswamy.
that final variables are class variable?
is it right?
class variables: Those associated with Class object.
 
Andy Morris
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Final is just a keyword and can be applied to variables that are static, instance (class) or local (i.e in methods).

I wouldn't worry about the statement you read.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic