Java programs written during the course of 4th semester
-
Write a Java Program *to Calculate the factorial of a number *to print prime numbers using CLA *to convert temperature from Fahrenheit to Celsius using CLA
-
Write a Java Program *to find the sum of all the elements in an array *to print all the elements in a 2D array. Get the input from key board
-
Create a Java class called Student with the following details as variables within it. USN, Name, Branch, Phone. Write a Java program to create n Student objects and print the USN, Name, Branch, and Phone of these objects with suitable headings.
-
Program Illustrating Overloading & Overriding methods in Java.
-
Program Illustrating the Implementation of Various forms of Inheritance.
-
Program to create and import packages.
-
Write a program to create interface named test. In this interface the member function is square. Implement this interface in arithmetic class. Create one new class called ToTestInt in this class use the object of arithmetic class.
-
Program Illustrating checked and unchecked exceptions
-
Program to create customized exception
-
Write a Java program that implements a multi- thread application that has three threads. First thread generates a random integer for every 1 second; second thread computes the square of the number and prints; third thread will print the value of cube of the number