If user enter all these then i need to use what to store it in a same group (many different group)
import java.util.Scanner;
class addBook
{
public static void book()
{
int isbn;
Scanner inputDevice = new Scanner (System.in);
System.out.println("Enter ISBN ...\n");
isbn = inputDevice.nextInt();
int title;
System.out.println("Enter TITLE ...\n");
title = inputDevice.nextInt();
int author;
System.out.println("Enter AUTHOR NAME ...\n");
author = inputDevice.nextInt();
int pub;
System.out.println("Enter Publisher ...\n");
pub = inputDevice.nextInt();
int pubDate;
System.out.println("Enter DATE OF PUBLICATION ...\n");
author = inputDevice.nextInt();
}
}