instanceof

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shana07
    Contributor
    • Jan 2007
    • 280

    #16
    Can we use instanceof to test that objects implement a given interface? e.g.
    Code:
        object instanceof java/lang/Runnable; //test if it implements the Runnable interface
    Please help me to take a look at my syntax....Thank s

    Comment

    Working...