Answer the following statements true (T) or false (F)

1) Variables or methods declared with access modifier public are accessible
wherever the program has a reference to an object of the class.
2) An attempt by a method which is not a member of a particular class to
access a private member of that class is a fatal runtime error.
3) Only certain objects have a this reference.
4) this is often used to distinguish between a local variable and class
variable that share an identical name.
5) C# invokes the appropriate constructor by matching the number, types
and order of the parameters in the constructor call to those in each constructor definition.

1) T
2) F
3) F
4) T
5) T

Computer Science & Information Technology

You might also like to view...

A command that searches your document for features that may not be supported by older versions of Office

a. Fact checker b. Live Preview c. Check Compatibility

Computer Science & Information Technology

What is a password expiration time?

What will be an ideal response?

Computer Science & Information Technology