The collection of all the Java programs I've implemented over the years. If a program is missing from the list below, check the corresponding file and refer to the comments for further details. Raise a Pull Request in case of new JAVA PROGRAM addition. P.S : Don't forget to add comments for better understandings in the code.
- AbsClassDemo - Demonstration of Abstract Class.
- DemoInterface - Demonstration of Interface.
- MovTruck - AWT project showcasing the movement of trucks using rectangles and squares.
- Simulator - OS Process and Algorithm Simulator.
- Static and Non-Static Demo - Demonstration of Static and Non-Static Methods.
- jar-files - Resolving the "kotlin-runtime not found" error in NetBeans IDE by selecting the kotlin-runtime JAR file under the "resolve problems" tab.
- useFul - A package demonstration program. The folder is the package and can be executed by running
PackageTest1.java
in this list. - Academic.java - Reads student name, roll number, and subject marks to find total and percentage.
- AddingElementVect.java - Demonstration of Vector by adding and searching elements.
- Bitwise.java - Demonstration of Bitwise operators.
- BouncingBall.java - A simple program spawning a window where a ball bounces off the inside corners. Users can change the size and color of the ball, and resizing the window adjusts the bounce accordingly.
- BtnDemo1.java, BtnDemo2.java, BtnDemo3.java, BtnDemo4.java, BtnDemo5.java - Demonstration of Buttons.
- Calculator.java - Basic calculator program with GUI.
- CheckInternet.java - Checks internet connection or availability of certain websites.
- ChoiceDemo.java - Demonstration of Choice component.
- Circle.java - Calculates the area and circumference of a circle.
- ColorBars.java - Displays random colored vertical bars on the screen.
- CompareStrings.java - Demonstration of string comparison.
- ConditionalOp1.java - Finds the greatest of two numbers using a conditional operator.
- Counter.java - A simple counter that increments indefinitely.
- Cricket.java - Calculates cricket match score and run rate.
- DemoJComboBox.java - Demonstration of
JComboBox
. - DemoSwing.java - Demonstration of Swing in Java.
- DiceGame.java - A simple dice game implemented in Java.
- DigitalClock.java & DigitalClock1.java - Clock created using Graphics that displays the computer's current time.
- DigitalSum.java - Finds the sum of all digits of a user-input number.
- Dots.java - Opens a window where dots spawn randomly across the screen.
- DynamicApplet1.java - Moving Truck animation created by friends.
- ExceptionDemo.java - Demonstration of exception handling.
- Fibbonacci.java, Fibbo.java - Prints Fibonacci Series.
- Factorial.java - Calculates the factorial of a number.
- GUIFRAME.java - An arithmetic calculator implemented using Java.
- GradeShow.java - Inputs grades and shows their classification.
- Grade.java - Determines the greatest of three numbers.
- Greatest.java - Finds the greatest of three numbers.
- Gross.java - Calculates gross salary from previously given values.
- HelloWorld.java - Classic "Hello World" program.
- HybridInterface.java - Demonstration of a hybrid interface.
- InterfaceDemo.java, InterfaceDemo1.java, InterfaceDemo2.java - Shows the working of inheritance.
- JScrollPaneDemo.java - Demonstration of
JScrollPane
. - LeapYearDeceider.java - Checks if a year is a leap year.
- Mobile.java - Inserts multiple elements into an array.
- MouseEvents.java - Demonstrates mouse events.
- MultiButtonDemo.java - Demonstrates the working of multiple buttons in a GUI.
- MultiCatch.java - Demonstrates multiple catch statements in exception handling.
- MyProgressBar.java - Simple progress bar implemented using Java.
- PackageTest1.java - Refer to the top folder named "useFul" for more information.
- Pattern1.java - Prints a basic pattern of
*
. - Rectangle.java - Calculates the area and perimeter of a rectangle from length and breadth inputs.
- ReverseNo.java - Reverses a number without using a temporary variable.
- RunnableDemo.java - Demonstrates multithreading by implementing the
Runnable
interface. - SearchlastString.java - Finds the last occurrence of a given string.
- Smile.java - Displays a smiley face created using Applet.
- StringReverse.java - Reverses a given string.
- SwingCalendar.java - A calendar implemented using Swing.
- TempConvertor.java - Converts Celsius to Fahrenheit.
- TenMultiples.java - Prints the multiplication table of any input number.
- ThreadDemo1.java, ThreadDemo2.java - The first demonstrates basic thread implementation, and the second shows the thread life cycle.
- ThreadPrint.java - Prints output using threads.
- TrafficSignal.java - A simple traffic signal implemented using Applet.
- User.java - Creates a custom exception.
- VDemo.java, VectorDemo.java - Demonstrations of Vectors.
- Work.java & Work1.java - Creates a chessboard design using Java.