Java Tutorial #11 *PROGRAM* Random Password Generator

///Java Tutorial #11 *PROGRAM* Random Password Generator

Java Tutorial #11 *PROGRAM* Random Password Generator

FavoriteLoadingAdd to favorites

I promise I’ll be back to basic tutorials soon!
Enjoy!

Java468x60

Start at the beginning:

source

By |2020-04-29T03:12:09+00:00April 29th, 2020|Java Video Tutorials|10 Comments

10 Comments

  1. Blockcrafter Hd April 29, 2020 at 3:12 am - Reply

    public static void main(String[] args) {
            char[] buch = new char[27];

            String leer = new String(" ");
            buch[0] = leer.charAt(0);
            for (int i = 1; i < buch.length; i++) {
                buch[i] = (char) (i + 64);
            }
           
            Random rnd = new Random();
            StringBuffer buffer = new StringBuffer(1000);
            for(int i = 0; i < 3; i++) {
                int index = Math.abs(rnd.nextInt()) % 26;
                buffer.append(buch[index]);
            }
            System.out.println(buffer.toString());
        }

    Is mutch easyer for all rhat only want a randome text

  2. sunnyhours84 April 29, 2020 at 3:12 am - Reply

    Awesome! The code is super bloated (for starters why even bother with the nc and nc2 vars, you should be able to use x–), and now it will only print: letter number letter number … and no uppercase. But considering i'm a Java beginner…i'm truly thankful for the vid.

  3. Ruby Wang April 29, 2020 at 3:12 am - Reply

    It helps a lot Thanks

  4. MrXenon April 29, 2020 at 3:12 am - Reply

    deserves more views! Thank you!

  5. H8R April 29, 2020 at 3:12 am - Reply

    Hey nice work on the random password generator
    I have one for you how about you do a program that simulate the real lottery MEGA MILLIONS. The rule of the game is (from Internet): The Lottery game in which the ticket purchaser selects, or has the computer randomly assign five (5) different numbers from Field 1 which includes a range of consecutive numbers from one (1) to fifty-six (56) and one (1) number from Field 2 which includes a range of consecutive numbers from one (1) to f

  6. Watya April 29, 2020 at 3:12 am - Reply

    THANK YOU SOOOOOOOOOOOOOOOOOOOOOOOOOO MUCH!!!

  7. Tact April 29, 2020 at 3:12 am - Reply

    Great video, very well explained!
    Personally i feel you overcomplicated things a little bit with the loop:
    Simple use of r.nextBoolean(); Giving you a true-false outcome, if true, output number 0-9.
    else, out.print(alphabet[0+r.nextInt(26)]);
    – i tried to copy paste the actual code but lol, youtube comment box hates javacode.
    Peace 🙂

  8. mellesubs April 29, 2020 at 3:12 am - Reply

    Really enjoyed the tutorial and it helped me out a bunch with one of my projects, it's shame it hasn't got more views.

  9. Caifan April 29, 2020 at 3:12 am - Reply

    jajajajaja, fffrrrtttt.

  10. Mabelle Mazon April 29, 2020 at 3:12 am - Reply

    hhahaahahhha! LOL 😀

Leave A Comment

*