Book Nelems Bookdetails: Import Public Class Public Private Int
Book Nelems Bookdetails: Import Public Class Public Private Int
import java.util.Scanner;
String[][] bookdetails;
String[][] addbook(){
int row,col,book,k;
Scanner input = new Scanner(System.in);
System.out.println("Enter rows");
row = input.nextInt();
System.out.println("Enter columns");
col = input.nextInt();
bookdetails = new String[row][col];
int j;
for(j=0; j<nElems; j++)
if(book[j] == searchKey)
break;
if(j == nElems)
return false;
else
return true;
}