BSc CS sem 3 Core JAVA Practical solutions Download




Practical List

1. Accept integer values for a, b and c which are coefficients of quadratic equation. Find the solution of quadratic equation.

2. Accept two n x m matrices. Write a Java program to find addition of these matrices.

3. Accept n strings. Sort names in ascending order.

4. Create a package: Animals. In package animals create interface Animal with suitable behaviors. Implement the interface Animal in the same package animals.

5. Demonstrate Java inheritance using extends keyword.

6. Demonstrate method overloading and method overriding in Java.

7. Demonstrate creating your own exception in Java.

8. Using various swing components design Java application to accept a student's resume. (Design form)

9. Write a Java List example and demonstrate methods of Java List interface.

10. Design simple calculator GUI application using AWT components