import java.util.Scanner; public class testLibrary { public static void main(String[] args) { Books[] booksArr = {new Books("Harry Potter", "\tJ.K ROLLING", "\t\t1st", 1), new Books("Hello Kitty", "\tJ.K Kitting", "\t\t2nd", 2), new Books("Harry Kitter", "\tJ.K CASDCDC", "\t\t3rd", 3), new Books("Harry Popper", "\tJ.K CDDCSWV", "\t\t4th", 4), new Books("Happy Monter", "\tJ.K UJYUGNH", "\t\t5th", 5), new Books("Marry kiefer", "\tJ.K CVFBVFF", "\t\t6th", 6)}; System.out.println("\nBooks Lists: "); System.out.println("============================================================================"); System.out.println("No.\tBooks name \t\tBooks author \tBooks edition \tRack number "); System.out.println("============================================================================"); for (int j = 0; j < booksArr.length; ++j) { System.out.println((j+1) + ". " + booksArr[j].toString()); } } }