Question: 2 . Statement 1 : @Getter and @Setter are used to generate getters and setters for an entity class. Statement 2 : @Getter ( lazy

2. Statement 1: @Getter and @Setter are used to generate getters and setters for an entity class. Statement 2: @Getter(lazy=true) loads the data only when the first corresponding getter is called. Choose the right option.
Both statement 1 and statement 2 are false
Statement 1 is true and statement 2 is false
Statement 1 is false and statement 2 is true
Both statement 1 and statement 2 are true

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!