how can retrieve methodes from a class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dillip132
    New Member
    • Jun 2007
    • 3

    #1

    how can retrieve methodes from a class

    Q--how can i know ,what are the methodes used in a claas...i want to retrieve all the methode used in my class.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by dillip132
    Q--how can i know ,what are the methodes used in a claas...i want to retrieve all the methode used in my class.
    Ever heard of reflection ?

    Comment

    • praveen2gupta
      New Member
      • May 2007
      • 200

      #3
      Originally posted by dillip132
      Q--how can i know ,what are the methodes used in a claas...i want to retrieve all the methode used in my class.

      Hi,

      You are writing the java file so you should know that what methods you have written in the file. The class file will be having the methods which you have written in the .java file. So begainers should know the name of methods with signatures that they have written in the file. All other means will not work at this stage of learning.

      Comment

      Working...