Java program to display the information’s of the file

Write a Java program that reads on file name from the user then displays information about whether the file exists,whether the file is readable,whether the file is writable,the type of the file and the length of the file in bytes

Java Program to multiply two matrices

System.out.println(“Enter the first matrix:”);
Scanner input=new Scanner(;
for(int i=0;i<3;i++) for(int j=0;j<3;j++) a[i][j]=input.nextInt();