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 from method2.
Which code segment should you insert at line 10?
A. Class l.smethodl()
B. Class l::smethod l ()
C. This::smethodl()
D. This.smthod l()

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.