how to sort the result of this 2 class program in java.....????

how to sort the result of this 2 class program in java.....????

package setget1_method; import java.util.Scanner; public class Main {

{

{ Scanner input = new Scanner(System.in); LBook[] book = new LBook[5]; String title, author; int numPages, ctr; for(ctr =0; ctr

package setget1_method; class LBook { private String title; private String author; private int pageCount; public void setTitle(String j) { title = j; } public void setAuthor(String o) { author = o; } public void setPageCount(int count) { pageCount = count; } public String getTitle() { return title; } public String getAuthor() { return author; } public int getPageCount() { return pageCount; } }

View Answers









Related Tutorials/Questions & Answers:
how to sort the result of this 2 class program in java.....????
Sort Result set
Advertisements
how to forward select query result to jsp page using struts action class
Bubble Sort Program in Java
How do I sort by mutiple columns that are in ArrayList using some comparable class
How to eliminate error," Could not find the main class: filecopy.FileCopy. Program will exit." ?
STRUTS 2 Could not find action or result
How to sort the rows in SQL?
A Java Program That Prints Out Result Via Printer
executing java program with 2 classes
Class Average Program
Sort
java 2 d array program
My first struts 2 program
Write a C/C++ program to show the result of a stored procedure
How to sort json object?
How to sort ArrayList in java
String sort() Method
Program to read 2 integers using oops concepts
How to sort chinese character in j2me?
how can i display a editable result of form?
C Program for Addtion of 2*2 Diagnol Matrix - Development process
Sub class of a previous java program
JavaScript array sort alphabetically
Sort
how to chech result set is null or not - Java Beginners
please please i wanna insertion sort program find calendar to array value (1000,5000,10000), please help me
write a program to demonstrate wrapper class and its methods......
mapping between java class and more than 2 tables
how to sort the text file and display it in jtable
how to sort the elements of hashmap and to print output the key and the value attached to it
How to add dropdown list in a row of a sort table applet?
Simple Java class program - Java Beginners
Simple Java class program - Java Beginners
Struts 2 Hello World Example
how to sort multiple key columns in CSV file - Java Beginners
how to set class path
write a program for creating html page with images and 2 buttons
bubble sort - Java Beginners
How to write a program count total prices
How can we find the number of rows in a result set using PHP?
How about 2+5+"8"?
ModuleNotFoundError: No module named 'sort'
Array sort
bubble sort
insertion sort
insertion sort
insertion sort
insertion sort
how to creat a new program

Ads