How To Call A Private Method In Java (And Access From Another Class)

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ส.ค. 2024

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

  • @alexlorenlee
    @alexlorenlee  9 หลายเดือนก่อน +2

    If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h

  • @magix8571
    @magix8571 ปีที่แล้ว +7

    You'ree backk

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

    So glad your back Alex, love your videos, please keep it up!

  • @BharathKumar-iw2mq
    @BharathKumar-iw2mq ปีที่แล้ว +1

    Sir firstly you are reason to improve my skills in java ❤ thank god you are back 🙏 i just finished my bachelor's searching for job in java developer, if i succeed in job one fine day i will meet you sure 😊 Love u sir❤

  • @2003MAAP
    @2003MAAP ปีที่แล้ว

    Whooow, so nice you back, I couldn't understand Java until I found your videos, I hope to see you around more often. Welcome back

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

    Just seen that you are back with more java videos! Welcome back!

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

    It's nostalgic that you're back to java, but why do i feel that you're not enthusiastic doing it like before...

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

    the Java god is back!!

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

    Kindly make a video on file handling in java...🙏🏻...best wishes for ur channel🎉

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

    Please drop a video on Data structure and algorithms..linkedlist stack queues trees graphs..etc..hope this will help more people!

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

    I was just learning this reflection thing earlier xD. This helped me recall stuffs, Thanks

  • @HazbinEditAlastor
    @HazbinEditAlastor ปีที่แล้ว +4

    Bro, what is this?

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

    Very helpful as always alex lee

  • @Ali.812
    @Ali.812 ปีที่แล้ว +1

    Can we just access Create a getter method with constructor. And then we can call getter method. Will this solution work or no ?

  • @moderncomputercollege839
    @moderncomputercollege839 4 หลายเดือนก่อน

    i cant find your java playlist notes?

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

    can you explain difference between throw and throws keywords
    in exceptional handling.

    • @VinothSankarP
      @VinothSankarP 4 หลายเดือนก่อน

      Throw keyword used inside the method, Throws used in method...Ex: if x

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

    why u don't use IntelliJ IDEA?

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

    Why would you want to do this?

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

      mostly for testing. If you want to make sure those private methods are working as expected, you can access them from your test file, without setting them to public.

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

    Bro can you do some project in java . that will even more helpful

  • @bryanguim2000
    @bryanguim2000 ปีที่แล้ว +4

    First, and I think I deserve a like from you :>