Question: Using Java's Reflection API, you can use \_ to get the name of a class and \_ to retrieve an array of its methods.

  1. this.getClass().getSimpleName(); this.getClass().getDeclaredMethods()
  2. this.getName(); this.getMethods()
  3. Reflection.getName(this); Reflection.getMethods(this)
  4. Reflection.getClass(this).getName(); Reflection.getClass(this).getMethods()

Answer: The correct answer of the above question is Option A:this.getClass().getSimpleName(); this.getClass().getDeclaredMethods()