Thread: InstanceOF
View Single Post
  #3 (permalink)  
Old 05-30-2008, 09:08 AM
itgalary's Avatar
itgalary itgalary is offline
Novice
Join Date: May 2008
Posts: 3
iTrader: (0)
itgalary is on a distinguished road
A instanceOf B means ::: If A ia an object of class B.

Class B
{
something...
}
class C
{
something...
}
private B a;
private C d;


so a instanceOf B will be true
while a instanceOf C is not true... since a is not object of class C.

__________________
Free Programming help http://www.itgalary.com
Free World Tourism http://maps.itgalary.com

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote