1.

is it possible to have different Access modifier of Get and Set method

Answer»

No it is not possible to have different modifiers of a COMMON PROPERTY(GET and SET) which means that if the ACCESS modifier of a property get method is protected and it must be protected for the set method as well.



Discussion

No Comment Found