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

Ads
 

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
Bubble Sort Program in Java
How to eliminate error," Could not find the main class: filecopy.FileCopy. Program will exit." ?
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
how can i display a editable result of form?
How to sort ArrayList in java
How to sort chinese character in j2me?
Class Average Program
String sort() Method
Write a C/C++ program to show the result of a stored procedure
Struts 2 Hello World Example
how to set class path
Sub class of a previous java program
HOW TO DISPLAY 2 ROWS OF CONTROLS
HOW TO DISPLAY 2 SET OF CONTROLS
How Struts 2 Framework works?
how to store the REsult Set values in array and loop through it in java?
how to store the REsult Set values in array and loop through it in java?
How to create a class in java
how to creat a new program
how to sort the text file and display it in jtable
JavaScript array sort alphabetically
Struts 2 Hello World Annotation Example
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

Ads