研发埠

标题: [Oracle interview]What is the difference between static and non-static variables? [打印本页]

作者: 程旭媛    时间: 2013-8-16 16:35
标题: [Oracle interview]What is the difference between static and non-static variables?

作者: 龚城师    时间: 2013-8-16 16:42
A static  variable is associated with the class as a whole rather than with specific  instances of a class. Non-static variables take on unique values with each  object instance.




欢迎光临 研发埠 (http://bbs.yanfabu.com/) Powered by Discuz! X3.2