Question: What is SpEL and how is it used in Spring?

  1. SpEL(Spring Expression Language) runs in the JVM and can act as a drop-in replacement for Groovy or other languages.
  2. SpEL(Spring Expression Language) supports boolean and relational operators and regular expressions, and is used for querying a graph of objects at runtime.
  3. SpEL(Spring Expression Language) allows you to build, configure,and execute tasks such as building artifacts and downloading object dependencies.
  4. SpEL(Spring Expression Language) natively transpiles one JVM language to another, allowing for greater flexibility.

Answer: The correct answer of the above question is Option B:SpEL(Spring Expression Language) supports boolean and relational operators and regular expressions, and is used for querying a graph of objects at runtime.