sakshi goyal
Can we declare class as protected?
By sakshi goyal in Java on May 10 2012
  • Bilal Sheikh
    Feb, 2020 8

    Yes we can declare a class as protected.The objects of protected class are only accessible inside the package and outside the package but only by inheritance

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS