definition
is a built-in class, which you can use when you want some information about your class
Information like:
- the name of your class
- methods used in the class
- etc..
Check what information you can get more on the oracle page. You can find all the methods there.
Code
How to get this information in code?
- Create an object of your class
- create a class object, your class object contains all the information about your class
3. asking for information looks like this:
*In this example you will get back the name of the class