Nested for loop inside User Defined Java class step

Can we use Nested for loop or If Loop inside User-defined Java Class Step?

Yes Sagar, We can use Nested for loop or If loop inside User Defined Java Class Step.