Multiple choice technology programming languages

What is an aspect?

  1. A Java class encapsulating one or more advices.

  2. A child class inheriting properties of parent class

  3. A class that implements an interface

  4. Transaction handling capability of spring framework

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Aspect-Oriented Programming (AOP), particularly in Spring AOP, an aspect is a modularization of a concern that cuts across multiple objects, typically implemented as a regular Java class annotated or configured to encapsulate advices and pointcuts. The other options describe inheritance, interface implementation, or specific framework capabilities.