Files
Java-Projects/README.MD
2021-04-14 16:17:31 +05:30

6.7 KiB

JAVA Programs For Everybody To Try!

Last Updated: April 14' 2021

Introduction:

Here are programs that every budding programmer who is learning to code in Java should start with. These programs are a compilation of many different types of programs and levels of programming you should try. If you want to start with levels of coding in mind use the table (serial) to refer which program is of which category. If you want in which serial you should code rather than the levels then refer to table (levels) for a better understanding.

Pre-Requisites:

  1. A coding IDE or just use the CMD/Terminal on your Windows Pc/Mac respectively (I used VS Code for this).

  2. Check that Java is properly installedin your system and the Path to Java is integratively set in your system.

  3. Start by trying to create the program by yourself if you encounter any problems refer to the code in the program file, if the problem still persist then create a issue or use Google/Stack Overlflow for help.

  4. Done! You have successfully created the program in Java by your own.

Serial:

Serial No. Program Name Description of the program
1 HelloWorld.java Program to print out "Hello World"
2 EvenOdd.java Program to find out the number entered is Even/Odd (Static Method).
3 EvenOddDynamic.java Program to find out the number entered is Even/Odd (Dynamic Method).
4 LargestNumberStatic.java Program to find out the largest number (Static Method).
5 LargestNumber.java Program to find out the largest number (Dynamic Method).
6 PrimeOrNotStatic.java Program to find out the prime or not (Static Method).
7 PrimeOrNot.java Program to find out the prime or not (Dynamic Method).
8 PrimeNoStatic.java Program to display first n Prime number (Static Method).
9 PrimeNo.java Program to display first n Prime number (Dynamic Method).
10 FibonacciSeriesStatic.java Program to generate fibonacci series upto n value (Static Method).
11 FibonacciSeries.java Program to generate fibonacci series upto n value (Dynamic Method).
12 RootsOfQuadracticEquationStatic.java Program to find the root of quadratic equation (Static Method).
13 RootsOfQuadracticEquation.java Program to find the root of quadratic equation (Dynamic Method).
14 Calculator Program that implements the arithmetic operation (Calculator) using switch statement.

Levels:

Level No. Program Name Description of the program
1 HelloWorld.java Program to print out "Hello World"
1 EvenOdd.java Program to find out the number entered is Even/Odd (Static Method).
1 LargestNumberStatic.java Program to find out the largest number (Static Method).
1 PrimeOrNotStatic.java Program to find out the prime or not (Static Method).
1 PrimeNoStatic.java Program to display first n Prime number (Static Method).
1 FibonacciSeriesStatic.java Program to generate fibonacci series upto n value (Static Method).
1 RootsOfQuadracticEquationStatic.java Program to find the root of quadratic equation (Static Method).
2 EvenOddDynamic.java Program to find out the number entered is Even/Odd (Dynamic Method).
2 LargestNumber.java Program to find out the largest number (Dynamic Method).
2 PrimeOrNot.java Program to find out the prime or not (Dynamic Method).
2 PrimeNo.java Program to display first n Prime number (Dynamic Method).
2 FibonacciSeries.java Program to generate fibonacci series upto n value (Dynamic Method).
2 RootsOfQuadracticEquation.java Program to find the root of quadratic equation (Dynamic Method).
3 Calculator Program that implements the arithmetic operation (Calculator) using switch statement.

License:

Copyright (c) 2021 PSMForums. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.