In this part of tutorial we will discuss how do you know that whether a given class is an "Interface" or a "Class"?
To know that given class is an Interface or Class we can use boolean method isInterface() which returns true if given class is an Interface and false if it is a class.
Here is the code for this example:
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: September 10, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles