/basicJavaPrograms

Basic Java Programs

Primary LanguageJava

Basics of Java

Some basic java programs i have done during my grad years like :-

  • Uses of loops
  • Array
  • HCF & LCM
  • Patterns
  • Leap year
  • Sorting
  • Fibbonachi
  • Armstrong Numbers
  • etc
  • .....
  • ........

Use

  • Download or copy program in your system and save it with .java extension
  • Open terminal and goto file location or directory using 'cd' command
  • Make sure jdk is set in PATH
  • Type 'javac file_name.java' and hit enter it will compile java file and create a class file with same name.
  • If no error next type 'java file_name' wooo program ran.
  • In case of error use stack overflow or any other platform for solving that.
  • signOut @anoneon peace....