Java Program #22 - Print Diamond Shape Star Pattern in Java

Sdílet
Vložit
  • čas přidán 27. 11. 2022
  • Java Program to Print Diamond Shape Star Pattern | Programming for Beginners
    In this video by Programming for Beginners we will learn to write Java Program to Print Diamond Shape Star Pattern, using Java Tutorial videos.
    This Java program is very important for your Java interview questions or if you are learning Java Programming language as a student.
    Diamond Shape Star Pattern:
    *
    * *
    * * *
    * * * *
    * * * * *
    * * * * * *
    * * * * * * *
    * * * * * *
    * * * * *
    * * * *
    * * *
    * *
    *
    ==========
    Java Tutorial for Beginners Playlist:
    • Java Tutorial
    All Java Programs Playlist:
    • Java Programs
    We can learn Java Programming language to make web applications or mobile applications for android phones and several other applications for windows, Mac OS and Unix operating systems. Also we can make android applications using Java programming. The concepts covered will be related to basic java and core java that will help you in your next interview questions. You can use any version of Java but all concepts will be same for all java versions. I will be using Java SE 8.
    Java is a high-level programming language. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
    Java is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Software Development Domain.
    Java JDK:
    www.oracle.com/java/technolog...
    Eclipse IDE:
    www.eclipse.org/downloads/
    CZcams Gears:
    Microphone: amzn.to/3iIk5K3
    Mouse: amzn.to/35irmNF
    Laptop: amzn.to/3iG0jyD
    #JavaProgram #JavaTutorial #Programming #Java
    ============================
    LIKE | SHARE | COMMENT | SUBSCRIBE
    Thanks for watching :)

Komentáře • 23

  • @dhruvsen7617
    @dhruvsen7617 Před 9 měsíci +2

    best explanation ever seen

  • @krishtest9392
    @krishtest9392 Před měsícem +1

    Thank you sir😊

  • @NazanTem
    @NazanTem Před 2 měsíci +1

    Thank you!

  • @blue5325
    @blue5325 Před rokem +3

    How is this 2nd week of into cs class material?!?!?!

  • @fortunespirit
    @fortunespirit Před rokem +1

    anyway we can optimize it by using only 3 loops ?

  • @matejpetrovic2660
    @matejpetrovic2660 Před 7 měsíci +2

    Hello, very helpful and useful video (i have to make the same programme for exercise in university) the only question i have is how can i remove the space between the * ?? please help me!

    • @programmingforbeginners7392
      @programmingforbeginners7392  Před 7 měsíci +1

      Thanks. You can remove the space characters in the print statement to avoid the space characters in pattern

    • @matejpetrovic2660
      @matejpetrovic2660 Před 7 měsíci

      Sorry but i've tried to remove it but it still doesn't work for me...which print statement exactly? Thank you so much!
      @@programmingforbeginners7392

  • @nannetteg.d.1955
    @nannetteg.d.1955 Před 9 měsíci

    yasss

  • @Shraddhaz_Guitar_Vibes
    @Shraddhaz_Guitar_Vibes Před 6 měsíci

    In 6th line why not i less 'than equal' to row ?

  • @chinnaphatlin9284
    @chinnaphatlin9284 Před rokem

    Can u copy and paste the programme in here please? so I can copy in my code

    • @programmingforbeginners7392
      @programmingforbeginners7392  Před rokem +8

      It would help you temporarily friend.. please watch again and type on your own for long term learning..
      Still if you want me to provide you the code than let me know 🙂

  • @FlouZ_HomePage
    @FlouZ_HomePage Před 10 měsíci +1

    can you explain again about what is the "i" for and what is the "j" for? i understood the row part but not with the i and j

    • @programmingforbeginners7392
      @programmingforbeginners7392  Před 10 měsíci +1

      I and j are being used to iterate through rows and columns to make the diamond pattern. Whatever pattern we want to make, it depends on the i and j variables we use and how we use them with what number.. watch my other pattern videos in same series to understand more.
      Hope this helps

  • @mariamcagadas6007
    @mariamcagadas6007 Před 10 měsíci +1

    Mine doesn't have a good output😢
    I double check everything
    It turn out to have 2 7 stars
    And no tail😂
    I lost 1 star in the diamond 😂

    • @programmingforbeginners7392
      @programmingforbeginners7392  Před 10 měsíci +2

      I am thinking to provide all my codes on a website so that it becomes useful in such cases. What do you think? 🤔

    • @mariamcagadas6007
      @mariamcagadas6007 Před 10 měsíci

      @@programmingforbeginners7392 I think that's a good idea😅

    • @matejpetrovic2660
      @matejpetrovic2660 Před 7 měsíci

      YES PLEASE
      @@programmingforbeginners7392

  • @neildoyle4403
    @neildoyle4403 Před rokem

    I keep getting an error 😅