This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access Modifier

 
Sulbha Jan
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
Is there a way to find out programmatically, the access modifier of a method before actually using it...?

Thanks
 
Jay Pawar
Ranch Hand
Posts: 411
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the code


LINE X : Check this link to see the constant values for all the modifiers.
click me

Just FYI, this is way out of SCJP objective scope.

[ January 09, 2005: Message edited by: Jay Pawar ]
[ January 09, 2005: Message edited by: Jay Pawar ]
 
Sulbha Jan
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a bunch
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sulbha, et. al.,

Just in case, after all of Jay's wonderful code, you guys didn't catch this...

It's NOT on the exam... phewww!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic