Java - Access Control Modifiers

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2024
  • Java - Access Control Modifiers
    watch more videos at www.tutorialsp...
    Lecture By: Ms. Monica, Tutorials Point India Private Limited

ความคิดเห็น • 9

  • @TutorialsPoint_
    @TutorialsPoint_  ปีที่แล้ว

    Check out our trending course on Java Essential Training - bitly.ws/LGbp
    Use coupon “TH-cam 12” to get “FLAT 12%” OFF at checkout.

  • @haoyangfan4949
    @haoyangfan4949 5 ปีที่แล้ว +2

    While I think precisely speaking, all classes fields, regardless of their access modifier, will all be "inherited" (notice the quotation here) by the subclass. For private fields of superclass, subclass does "own" them but they cannot access them directly unless providing getter and setter methods. It is important to realize that having no access to a private member of superclass doesn't mean it's not there in the subclass.

  • @maruthikumar6064
    @maruthikumar6064 4 ปีที่แล้ว

    Thank you madam 🙏💐

  • @krishantalwar7903
    @krishantalwar7903 5 ปีที่แล้ว

    explain good

  • @debapratimbhattacharjee1569
    @debapratimbhattacharjee1569 5 ปีที่แล้ว +3

    why are you teaching all these before introducing the concepts of class, objects, method, constructors, and functions? while you're mentioning all these terms

  • @Sudveep.Kumar.Reddy.Vanteru
    @Sudveep.Kumar.Reddy.Vanteru 3 ปีที่แล้ว

    You forgot to tell the no access modifier concept clearly. In case of no access modifier given for the methods or variables then those are known to be public in the same package but they cannot be accessed by the classes of different packages.

  • @Warlock1515
    @Warlock1515 6 ปีที่แล้ว +1

    I want to marry you

    • @josephu4127
      @josephu4127 5 ปีที่แล้ว

      Pleaaase! leave her to me and I will pay u a trillion dollars.