Java Tutorial for Beginners – 18 – Void and Return Methods

///Java Tutorial for Beginners – 18 – Void and Return Methods

Java Tutorial for Beginners – 18 – Void and Return Methods

FavoriteLoadingAdd to favorites

In this tutorial we discuss void and return methods in Java in the broadest sense.
Void has some nuances to it that we will discuss in later episodes.

Java468x60

Please watch all the beginning Java tutorials at:

source

By |2019-06-12T19:34:28+00:00June 12th, 2019|Java Video Tutorials|27 Comments

27 Comments

  1. PHANTOM ONLINE June 12, 2019 at 7:34 pm - Reply

    are there any more shortcuts like 'sout'?

  2. Anzhela Novikova June 12, 2019 at 7:34 pm - Reply

    Здрaвствуйтe!

    Бывaлo ли у Вac так: Вы сняли xopошеe видео, потpaтили кучу времени на монтаж, вложили душу, но прoсмoтpов oно нe нaбиpает?

    Вce дeло в тoм, чтo для нaбopа прocмoтрoв cразу пocле публикaции pолика eму неoбxодимo дать cтаpтoвый "тoлчок" в видe нескoлькиx тыcяч прocмoтpов.

    Для этoго oтличнo пoдxодит cepвис "Вибум", в котopом за пару кликов можнo paзместить вaшe видeo нa сoтняx плoщадoк.

    C Сepвиcoм Вы пoлучaетe:

    – Живыe пpоcмoтры на Вaши видeоролики
    – Прирост подпиcчикoв на кaнал
    – Cтapтoвый "тoлчoк" для вaшeгo видeо, пoсле которогo оно активнеe пoдxвaтывaeтcя алгоритмами YouTube и начинaет пpиноcить прoсмoтpы ужe на aвтoматe
    – Никакиx бoтов и накрутoк, толькo peaльныe пользовaтeли, котopым интepecен Ваш контeнт
    – Сepвис нe наpушает прaвила YouTube

    Оценить рaботу сервиcа можнo тут:
    http://vibuum.ru/1/T5ZpirsfZ7

  3. ferdinand joshua ligtas June 12, 2019 at 7:34 pm - Reply

    Do you have any easier to use methods?

  4. shoab ahamed June 12, 2019 at 7:34 pm - Reply

    Can i use return twice in one method? If I can how?

  5. Fustard ButtBurger June 12, 2019 at 7:34 pm - Reply

    I really like how you explain things. other tutorials i find just skip over things, great work man!

  6. Satoshi Nakamoto June 12, 2019 at 7:34 pm - Reply

    thank you for being so clear . only one suggestion. i recommend you do multiple examples (atleast 2) when explaining a concept in different ways.

  7. Karloo June 12, 2019 at 7:34 pm - Reply

    click F6 instead of going up there and clicking run file…

  8. Sulove Roka June 12, 2019 at 7:34 pm - Reply

    let's I implent a method a remove item from list what return type should I use? for example lets say Stack dst Pop() why is the return type not void? if I set the return type to void won't it have the same effect .

  9. The Crook June 12, 2019 at 7:34 pm - Reply

    Very helpful video! I'm trying to learn some of the things i didn't understand from my Java class before the final. Thanks for making such clear and easy to understand videos!

  10. Jimmy Harry June 12, 2019 at 7:34 pm - Reply

    Awesome thanks

  11. Cosmos Lional June 12, 2019 at 7:34 pm - Reply

    I love you man!

  12. OmgPotato June 12, 2019 at 7:34 pm - Reply

    If you guys cant understand it

    (return) Getfood = FoodA , which is Hamburger

    (void) SystemPrint = System.out.print(FoodA);

  13. C Dorma June 12, 2019 at 7:34 pm - Reply

    poorly explained. Where is the thing being returned TO??.

  14. AYBIN. V. K June 12, 2019 at 7:34 pm - Reply

    Thanks

  15. JesterJ June 12, 2019 at 7:34 pm - Reply

    Great Video, I had to watch it twice for all the jumping around between the classes but now I understand void vs return with using constructors. Thanks!

  16. XxTreem Tv June 12, 2019 at 7:34 pm - Reply

    Bless.Very well explained

  17. ihonestytruthful June 12, 2019 at 7:34 pm - Reply

    Excellent videos! thanks!

  18. Ammar Sadeq June 12, 2019 at 7:34 pm - Reply

    Did u show us how to do systemPrint in 2 ways in this video?

  19. ALI JASSIM June 12, 2019 at 7:34 pm - Reply

    Thank you….. from your video , you gave me the way to understand constructors

  20. ric2play June 12, 2019 at 7:34 pm - Reply

    How do u get the classes linked without using extends?

  21. Khalil Aziz June 12, 2019 at 7:34 pm - Reply

    does the word public matter with constructors because in my program it works whether the food constructor says public or not

  22. Areum Cho June 12, 2019 at 7:34 pm - Reply

    Thank you so much for your efforts… But, I don't understand why we use two or three different classes and how it is connected to each other… 🙁 So confusing… it is my 3rd day of learning..

  23. David Garcia June 12, 2019 at 7:34 pm - Reply

    Hi, if anyone can help me with this. I clearly understood the use for Void and Return in methods and how to use them as well as constructors. but even when i copy your code to the letter NetBeans gives me illegal start of expression when i type private for the String foodA. Please help. My code is down here.

    public class Food {
       
        Private String foodA;
        
    public Food (String A) {
      private String foodA;
    }
        
    public String getFood() {
        return foodA;
    }

    void systemPrint() {
       
    System.out.println ( foodA );
       
      }

    }

  24. 2 month and i can understand what the difference between return and  and printing so why we use  return while we can use system .out ,print ?  still not get the meaning of return and this fucking  keyword made me  confused every time  try to practice java exersices

  25. GotterVibez June 12, 2019 at 7:34 pm - Reply

    Hello 🙂 I still don't understand when should we use return methods and when should we use void methods ? .. 🙁 what's the purpose of one and another ? I get the syntax difference… I just can't understand the purpose of using one instead of another..

  26. pantoner36 June 12, 2019 at 7:34 pm - Reply

    Hey man, I like your tutorials. You really know how to explain Java in easy way. I would agree with most people who say that you make best Java tutorials, but I really can't understand return and void. what does return return and void not return when pogram prints out same thing. I watched many tutorials and I just can't get it. Help please

  27. Oom1993 June 12, 2019 at 7:34 pm - Reply

    Thanks for these really informative tutorials, they are extremely helpful.
    It's a shame they don't have many views yet.
    I found your channel through the comments on Bucky's (ThenewBoston) channel. 

Leave A Comment

*