Java Tutorial for Beginners #7 - Nested Statements

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 10

  • @Aeztrest
    @Aeztrest 5 років тому +3

    First like and first watch :D

  • @jasonliu9790
    @jasonliu9790 4 роки тому

    Tim uploaded this vid on New years eve. Your a goat

  • @prasanthmessi
    @prasanthmessi 5 років тому +1

    preparing for exams right now... thanks a lot Tim

  • @Pikachu0071000CS
    @Pikachu0071000CS 4 роки тому +1

    I might have missed this, but why use int age = Integer.parseInt(s) instead of just straight up doing int age = sc.nextInt()?

    • @RikzB
      @RikzB 4 роки тому

      the data type of sc is set to String to get any type of input from the user.
      So if user enters in integer data type, we convert it into integer by Integer.parseInt()

  • @Aeztrest
    @Aeztrest 5 років тому

    Hi Tim u are best but is python not more simple, faster and easy do program than java? Which is better?

    • @TechWithTim
      @TechWithTim  5 років тому +1

      Java has many different use cases and is better for certain applications than python. It is also often taught in universities so I figured I’d make a series on it.

  • @brajeshsharma697
    @brajeshsharma697 5 років тому

    Bro can you tell me how to change background colour in python

  • @abdullaharif7385
    @abdullaharif7385 5 років тому

    Tim i need your help with something. using your method to shoot bullets from your pygame tutorials, I created a game, but when two enemy sprites overlap and a bullet hits this appears: bullets.pop (bullets.index(bullet))
    ValueError: is not in list. How would I fix this?

  • @ejhett2307
    @ejhett2307 5 років тому

    juvenile is younger than 13