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
How do I sort by mutiple columns that are in ArrayList using some comparable class
Bubble Sort Program in Java
How to sort the rows in SQL?
How to eliminate error," Could not find the main class: filecopy.FileCopy. Program will exit." ?
STRUTS 2 Could not find action or result
A Java Program That Prints Out Result Via Printer
executing java program with 2 classes
How to sort json object?
How to sort ArrayList in java
Sort
java 2 d array program
My first struts 2 program
Write a C/C++ program to show the result of a stored procedure
Class Average Program
How to sort chinese character in j2me?
how can i display a editable result of form?
String sort() Method
Program to read 2 integers using oops concepts
how to chech result set is null or not - Java Beginners
C Program for Addtion of 2*2 Diagnol Matrix - Development process
JavaScript array sort alphabetically
Sub class of a previous java program
Sort
how to sort the text file and display it in jtable
please please i wanna insertion sort program find calendar to array value (1000,5000,10000), please help me
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?
write a program to demonstrate wrapper class and its methods......
how to sort multiple key columns in CSV file - Java Beginners
how to set class path
mapping between java class and more than 2 tables
How about 2+5+"8"?
How can we find the number of rows in a result set using PHP?
HOW TO DISPLAY 2 ROWS OF CONTROLS
HOW TO DISPLAY 2 SET OF CONTROLS
how to export the query result in SQL Server to .csv file?
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
Struts 2 Hello World Example
how to creat a new program
How to write a program count total prices
How to Sort Column values of a jsp table - JSP-Servlet
write a program for creating html page with images and 2 buttons
How Struts 2 Framework works?
How to add a columns with a button set to a Jtable built with database result set
Simple Java class program - Java Beginners

Ads