File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
final variable are class variables? is it right?
Joined: Nov 15, 2006
Nov 17, 2006 03:49:00
I read in
Programming book by E. balaguruswamy.
that final variables are class variable?
is it right?
class variables: Those associated with Class object.
Joined: May 30, 2004
Nov 17, 2006 04:12:00
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.
I agree. Here's the link:
subject: final variable are class variables? is it right?
Q based on Dan's exam
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015