The following is not a feature of java beans
-
directives
-
properties
-
methods
-
events
A
Correct answer
Explanation
Java Beans are reusable Java components with specific features: properties (getter/setter methods for data access), methods (business logic), and events (notification mechanism for state changes). Directives are NOT a Java Bean feature - they are instructions for containers or processors (like JSP directives or compiler directives). The question asks what is NOT a feature, making 'directives' the correct answer.