Java Program For Beginners - Magic 8 Ball #18

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

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

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

    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

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

    OMG finally i understood a programm after all this years!!

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

    this is very helpful for me and my sister, we do something like this when deciding on the simple things hehe. thank u!

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

    good video but a tip for beginner coders and dev
    dont spam if else statements cuz it will make your code look less professional
    what you should do instead is use a (switch statement)
    its used when you have more than 2 logical chances in your code so for example
    switch(x){
    case 1:
    do something
    break
    case 2 :
    do something
    break

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

      hey! i'm a fresh programmer with 6 hours of experience. I was wondering while watching this video if you could somehow set an array list of possible answers and just get a random installment of said answers insted of typing "sout" 6 times in a row. I'm not even sure that stuff that I said here is even correct but I hope you get my idea.

    • @12bernas
      @12bernas 2 ปีที่แล้ว

      @@danikdanik3980 yes my man. Do you want help?

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

    i had so much fun doing this! i'm at my first year of ict eng in uni and i've never done any ict so i was panicking, but this was amazingù1

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

    just did this as my real first java project thats not writing new world. really good tutorial and really cool code keep it up

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

    I was having a hard time looking for an idea for a program and now I found my idea, Thanks!!!!!!

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

    Hi Alex Great , best and awesome practice program , thank you for uploading , u made it easy and fun thank you

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

    Thanks my guy, this was fun to make

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

    I am looking forward to learning more and more. Thanks

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

    You took me to the point of my confusion as soon as i clicked the video. Steps are very simple to do. This is exactly what i wanted sir.👄💋❤😆😆😆👍👍👍

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

    Great Alex!
    Do lots of java program video

  • @Nani-bk5op
    @Nani-bk5op 5 ปีที่แล้ว +3

    Hey, just wanted to say something. On the windows version of eclipse, you can do contol + shift + o to automatically import what you need to import.

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

      Unrivaled that’s great to know thank you for sharing this!

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

    your videos are so helpful thank you.

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

    I've learned a lot. Thank you

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

    wow.. such a nice and simple explaination. absolutely marvelous.

  • @Ginger5754
    @Ginger5754 10 หลายเดือนก่อน

    Thank you

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

    I enjoyed this thanks

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

    is there any way to not include the number of the response in the output?

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

    Alex you are amazing ! I take java lessons

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

    Your video great thanx

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

    Couldn't you store all your answers in an Array and have your Random get a string from the array at a random index and return the string at that index? I am new and didn't know if that would work but it seems like lees lines of codes and just one print statement.

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

    Hi alex, thank you for the videos you made, so helpful.
    i have one request, it’s a question, can you make a practice video, where we want a program to convert a money amount to coins, like 1 dollar is 2 of 50cents coin.
    thank you

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

    Can't we use an array of responses then iterate/loop through it?

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

    Could you please make a video on database connection ?

  • @mamoonbhatti3873
    @mamoonbhatti3873 6 หลายเดือนก่อน

    Hey ! can you tell me about springboard?

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

    Loved It

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

    great tutorial, but i think a switch statement will make life a lot easier

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

    Thnk u so mch u were awesumm

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

    This why the reason i love programmer... I mean the programming

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

    that was fun

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

    nice!

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

    Can we create a random String ? If yes , then how ?

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

    Is it possible to make an AI in java?

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

      Tobiaye yes! You can make AI in about any programming language. And people have done it. There are java AI libraries that people have made that you can just import into your project and mess around with

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

    Sir teach me what the basic

  • @GabrielRaymondo
    @GabrielRaymondo 3 หลายเดือนก่อน

    ❤❤

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

    13:23 predicted cornavirus

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

    👍👍👍👍

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

    how do i export it?

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

    ☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕☕