In this section you will
learn how to retrieve modifier's information of a class that we have
taken in our program. Here is an example that
provides the usage of the getModifiers() method in more detail.
Create an object of class as you want and then call getModifiers() method through this object. We can also know is it "Public", "Abstract", "Final" with isPublic(), isAbstract(), isFinal() methods.
Here is the code of example:
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: September 10, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles