Skip to content

This is all my random programs to help me better understand java. Anyone is able to use these programs as they wish. Thanks for stoppin by!

Notifications You must be signed in to change notification settings

jyoeymama/Java-Stugg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-Stugg

Welcome To: Java Stugg This is all my random programs to help me better understand java. If you are on this repository, please, do as you wish with any of my programs. I spend a lot of time trying to learn code in the hopes that maybe one day it might help someone. This repo is a collection of everything that I have made in java. If youd like to work with me and tell me anything, please email me at: jyomama28@gmail.com You will recieve a response from my email in 1-2 days maximum. To anyone reading this, I truly thank you for stopping on my repo, it isnt much but I hope you like it. I have been working hard on it :)

THANK YOU ALL FOR THE LOVE AND SUPPORT!!!!

GUESS WHAT GUYS:

Screenshot 2025-12-01 184709

JUST LOOK AT HOW MANY ERRORS LOL:

Screenshot 2025-11-05 123611

CHECK OUT THE OFFICAL JAVA STUGG WEBSITE HERE:

https://jyoeymama.github.io/Java-Stugg/

LATEST RELEASE UPDATES:

Added simplestopwatch.java in version 1.4

Added randomnumber.java in version 1.5

Added random3dshape.java in version 1.6

Added stackoverflowthing.java in version 1.7

Added leetcode.java in version 1.8

Added SeasonFinder.java in version 1.9

Added formattingoutput.java, ifelsestatement.java, and nestedifelse.java in version 2.0

Added scannerusage.java, trueorfalse.java, variablescanner.java, and morescanner.java in version 2.1

Added whilendo.java, and breakstatement.java in version 2.2

Added advancedswitchstatement.java in version 2.3

Added breakandcontinue.java and elementsandtraversal.java in version 2.4

Added ATM.java, polymorphisim.java, and arrayofparentandchildclasses.java in version 2.5

Added bad.java, debug.java, finaltwodarray.java, twodarrayexample.java, twodarrayssuck.java in version 2.6

LATEST GENERAL UPDATES:

Added a cool new website for news and information about Java Stugg.

TABLE OF CONTENTS:

  1. main.java is a simple hello world in the console made in java

  2. main2.java is a simple program that tells the user to input a name and then it uses the varible of the name you typed in and says Hello, John Doe!

  3. main3.java is a simple calculator program for the terminal that I named Termainally Calculated

  4. DemoViewer.java is a simple 3d renderer made soley in java by: Rogach on GitHub. Heres his GitHub: https://github.com/Rogach. The original post about this 3d renderer can be found here: https://gist.github.com/Rogach/f3dfd457d7ddb5fcfd99/4f2aaf20a468867dc195cdc08a02e5705c2cc95c

I took his script and changed it to a torus shape (or donut) thats pink. Most credit goes to Rogach though.

  1. PasswordGen.java is a simple password generator for your terminal in java.

  2. SimpleTodo.java is a simple todo list for your terminal thats made in java.

  3. ShapeCodeGenerator.java is a terminal based program that can give you the faces and verticies for different shapes for the DemoViewer.java

  4. random2.java is a simple number guessing game, guess the correct number to win! (1 through 10)

  5. Welcome2JavaStugg.java is a simple welcome program.

  6. TicTacToe.java is just a simple tictactoe program.

  7. CommandX (gui.java) is a simple tool to aid with terminal usage having a nice gui for you to choose which command you would like to execute.

  8. guitest.java is a simple gui made in java! (my first gui program!)

  9. SnakeGame.java is just a simple snake game in java!

  10. simplestopwatch.java is a simple stopwatch for your terminal, simply press enter to start and enter agian to stop.

  11. randomnumber.java is a simple program to give you a random number between 1 and 100.

  12. random3dshape.java is just a simple program that shows you a 3d render of a really really fat donut. Credit goes to Rogach on GitHub. Heres his GitHub: https://github.com/Rogach. The original post about this 3d renderer can be found here: https://gist.github.com/Rogach/f3dfd457d7ddb5fcfd99/4f2aaf20a468867dc195cdc08a02e5705c2cc95c

  13. stackoverflowthing.java is a program that force opens a rickroll on youtube. I found a post with the original code on StackOverflow here: https://stackoverflow.com/questions/10967451/open-a-link-in-browser-with-java-button All credit goes to this post. I modified it to be more modernized and fixed a few errors that javac had.

  14. leetcode.java is a simple array that outputs [2,4,3] to the console (mainly used as a refrence to an array in java by myself personally.)

  15. SeasonFinder.java is a simple switch statement to help me understand switch statements better in java.

  16. formattingoutput.java is just a simple script that shows a formatted output in java.

  17. ifelsestatement.java is a basic if else statement in java.

  18. nestedifelse.java is a basic nested if else statement in java.

  19. scannerusage.java is a program to help me better understand the scanner object in java.

  20. trueorfalse.java is a program that gives true or false based on a number that the user inputs made in java.

  21. variablescanner.java is a program that is a basic usage of variables with the scanner object made in java.

  22. morescanner.java is another basic program that uses the scanner to help me better understand how the scanner object works in java.

  23. whilendo.java is a basic porgram that uses the while and do statements made in java.

  24. breakstatement.java is a basic program that stops a loop when it reaches the number 5 made in java.

  25. advancedswitchstatement.java is a more advanced switch statement that uses many things such as break statements, objects, variables, and much more.

  26. breakandcontinue.java is a loop that stops at a certain point and continues after stopping.

  27. elementsandtraversal.java is using elements and is just me praticing them.

  28. ATM.java is a program that uses many things to total the amount of fake money in the first and second atms and displaying the total.

  29. polymorphisim.java is a program that features basic uses of polymorphisim in java.

  30. arrayofparentandchildcalsses.java is a program the is a refrence array for parent and child classes in java.

Screenshot 2025-10-15 202026 Java Stugg

About

This is all my random programs to help me better understand java. Anyone is able to use these programs as they wish. Thanks for stoppin by!

Resources

Stars

Watchers

Forks

Packages

No packages published