Learn Java - Exercise 08x - Return Values from a Class Method

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

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

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

    I was freaking out because I did everything right EXCEPT printing the method's value to the screen, and i had no idea why it was blank for 5 minutes.
    I have a feeling simple mistakes like that will drive me insane if I get to making full programs one day

    • @AONK
      @AONK 2 ปีที่แล้ว

      (the way i messed up printing to the screen was that I just put the method orlandoStore.grossRevenue(); instead of System.out.println(orlandoStore.grossRevenue());)

  • @anon8197
    @anon8197 3 ปีที่แล้ว

    i did this in the previous exercise and got worried 😭