aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes binding of variables. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "binding of variables." Watch "binding of variables." New topic
Author

binding of variables.

Manish Agarwal
Ranch Hand

Joined: Jun 22, 2004
Posts: 34
I am new to Java.This is my first question in this forum.

My question is that we always talk of static and dynamic binding of methods only.Why don't we hav static and dynamic binding of variables?plz help.


Thanks and Regards,<br />Manish Agarwal<br />SCJP 1.4 (100%)<br />SCWCD 1.4 (98%)<br />SCBCD 1.3 (Preparing)
Tybon Wu
Ranch Hand

Joined: Jun 18, 2002
Posts: 84
If you meant dynamic type binding for variables then no Java does not support it. Java variable type is statically bound during the variable declaration. Dynamic type binding is supported on other languages such as Lisp, where variable type is bound when it is assigned a value.


SCJP2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: binding of variables.
 
Similar Threads
About principal characteristics of OOP
type of binding
instance variables - polymorphism(overriding)
J2SE
clarification