Which code segment should you insert at line 10?
You have a class named Class l that contains a static method named smethodl and an instance method named method2. Class l contains the following X+ + code: (Line numbers are included for reference only.) You need to call smethodl…