java-lab-exercises
java-lab-exercises
degrees.
Test Data
Input a degree in Celsius: 100.0
Expected Output:
100.0 degree Celsius is equal to 212 in Fahrenheit
EXERCISE 02: Write a Java program for temperature conversion with below options.
TempConverterApp.java
1) Celsius to Fahrenheit
2) Fahrenheit to Celsius
3) Exit
EXERCISE 04: Write a Java program to sort the given set of numbers
EXERCISE 05: Write a Java program to sort the given set of strings
EXERCISE 06: Write an Account Manager program with below options with an ability to
read/write the details from/to the console
1. Create Account
2. Update Account
3. View Account
4. Deposit Amount
5. Withdraw Amount
6. Close Account
7. Exit
EXERCISE 07: Write a program to perform CRUD operations with Order using ArrayList
Order:
int id
String description
String category
int quantity
double price
EXERCISE 08: Write a program to perform CRUD operations with Order using HashSet
EXERCISE 09: Write a program to perform CRUD operations with Order using HashMap
and also show below details
EXERCISE 10: Write a generic program to sort given set of data [numbers or strings
or objects] using Java Generics
EXERCISE 11: Write a program to read/write Order details from file system using
Java File IO
EXERCISE 12: Write a multi-threading program to read/write Order details from using
Java File IO asynchronously
EXERCISE 13: Write a program to perform CRUD operations with Order using JDBC
EXERCISE 15: Write a Junit program to test the OrderService performing CRUD
operations