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.