Search This Blog

Monday, October 5, 2026

java lab

  • 1.Write a Java program to find and display the transpose of a given matrix.

  • 2.Write a Java program to find the number having the largest unit digit and the number having the smallest hundred's digit from a given set of numbers.

  • 3.Write a Java program to find the roots of a given quadratic equation.

  • 4.Write a Java program to find and display the nth Fibonacci number using both recursive and non-recursive methods.

  • 5.Write a Java program to demonstrate method overloading.

  • 6.Write a Java program to remove duplicate characters from a given string.

  • 7.Write a Java program to demonstrate multilevel inheritance.

  • 8.Write Java programs to print any two different patterns using nested loops.

  • 9.Write a Java program to perform multiplication of two given matrices and display the resultant matrix.

  • 10.Write a Java program to implement linear search and binary search on a given array.

  • java lab

    1.Write a Java program to find and display the transpose of a given matrix. 2.Write a Java program to find the number having the largest uni...