Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

binding

 
dipak chand
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys
can u just when dynamic binding or runtime binding occurs
with a example

deepak )
 
Axel Janssen
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dipak,
The rules are quite simple.
Dynamic binding ocurrs with instance method.
Compile-time binding with abstract methods AND with abstract AND instance member variables (= all member variables).
Look for last post in thread.
http://www.javaranch.com/ubb/Forum24/HTML/010055.html
hope this helps
Axel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic