Skip to content

gjrahul1/basic_java_codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains basic java codes that can be found useful to students.

Quadratic.java - this java file contains a program that computes if the given co-efficients are real or imaginery or distinct or real or equal.

Student.java - create n Student objects and print USN,Name, Branch, Phone Number of these objects with suitable headings.

Switch.java - Arithmetic Calculator using Switch Case without sub-methods.

calc.java - Arithmetic Calculator using Switch Case using Sub-Method which doesn't return the results in main method

calc_main.java - Arithmetic Calculator program that uses switch case and calls the sub-method and returns results to main method.

prime.java - Check if the number entered is prime or not within main method.

prime2.java - Check if the number entered is prime or not using functions.

About

This repository contains basic java codes that can be found useful to students.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages