CAN WE DEFINE PRIVATE AND PROTECTED MODIFIERS FOR VARIABLES IN INTERFACES?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 720  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    Can we define private and protected modifiers for variables in interfaces?

    No, they are implicitly public.

      Modified On Mar-28-2018 12:27:48 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!