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

Ads









Related Tutorials/Questions & Answers:
how to sort the result of this 2 class program in java.....????
Sort Result set
Advertisements
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." ?
Bubble Sort Program in Java
STRUTS 2 Could not find action or result
executing java program with 2 classes
A Java Program That Prints Out Result Via Printer
My first struts 2 program
Class Average Program
How to sort ArrayList in java
Write a C/C++ program to show the result of a stored procedure
how can i display a editable result of form?
How to sort chinese character in j2me?
String sort() Method
Sub class of a previous java program
JavaScript array sort alphabetically
write a program to demonstrate wrapper class and its methods......
how to set class path
Sort
mapping between java class and more than 2 tables
please please i wanna insertion sort program find calendar to array value (1000,5000,10000), please help me
how to sort the text file and display it in jtable
How Struts 2 Framework works?
Struts 2 Hello World Example
HOW TO DISPLAY 2 ROWS OF CONTROLS
HOW TO DISPLAY 2 SET OF CONTROLS
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?
How to write a program count total prices
how to creat a new program

Ads