Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners sorting student record
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


rhizza
sorting student record
3 Answer(s)      6 years and a month ago
Posted in : Java Beginners



Advertisement
View Answers

September 28, 2008 at 5:33 PM



can u explain about recording ?

u want to store value in database or in file or opertinng run time

specify


September 28, 2008 at 6:24 PM


Here i gave only sample. As per ur wish u add method and manipulate.

package rajanikant.code.sep_2008;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class StudentRecordMaintain {

public void insert(){
System.out.println("insert");
//do ur work here
}
public void delete(){
System.out.println("delete");
//do ur work here
}
public void display(){
System.out.println("display");
//do ur work here
}

// Add what ever method u want.........
public static void main(String s[]) throws NumberFormatException, IOException{
StudentRecordMaintain maintain = new StudentRecordMaintain();
InputStreamReader insr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(insr);
int choice = 0;
do{
System.out.println("1. Insert Record");
System.out.println("2. Delete Record");
System.out.println("3. Display Record");
System.out.println("4. Exit");
System.out.print("Enter Choice : ");
choice = Integer.parseInt(br.readLine());
switch (choice) {
case 1:
maintain.insert();
break;
case 2:
maintain.delete();
break;
case 3:
maintain.display();
break;
//add case statement what ever u want
default:
System.exit(0);
break;
}
}while(choice != 0);
}

}



Rajanikant


September 29, 2008 at 3:54 PM


Hello friend,


Plz explain in detail. Which technologies you want to use.


Related Tutorials/Questions & Answers:
sorting student record - Java Beginners
sorting student record  Program in java for inserting, recording, deleting, editing and searching student details   can u explain about.... Insert Record"); System.out.println("2. Delete Record"); System.out.println
sorting
sorting   write a program to arrange sorting in rows,column and diagonal
Advertisements
Sorting
Sorting  can any help me know which sorting algorithm java uses for sorting collection and arrays
sorting
sorting  write to a program to arrange the sorting in rows, column and digonal
sorting
sorting  how to do sorting without using bubble sort,selection sort
student database
student database  student records such as fees-school fees, dob,age,if any due.the record stored should be like this record,name,age,dob,fee list or any dues of the student record1 isha 15 20jan record2 spandana 14 4feb record3
Sorting in Java
Sorting in Java  Sorting in Java
group by sorting
group by sorting  group by sorting of data in SQL
Student database
Student database  Create a class Student with Name, Gender, and Date of Birth and Input Student and print as ?Dear Mr/Mrs Name, your Age is 99 Years?. Mr/Mrs - only one should be displayed based on their age and Gender
student details
student details  hi sir/madam i have a doubt in PHP how to insert student details using mysql with php..   Have a look at the following link: PHP Mysql insert
student details
student details  create an application for details of 1st to 5th standard students by using loops and scanner
student info
student info  code of insert,delete,update,view,search of student information using jsp and servelts   Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/user-search.shtml http
Student average
Student average  you are an academic scholar.one requirement... that reads student's number of subject taken, the final grade of each subject... should display the average grade of the student and would display the message
Student Marks
Student Marks  Hi everyone I have to do this java assignment... programming grades of 8 IT students. Randomly create student numbers for each... in an array. Addresses of Students and store them in array. Previous Grade for student
Student Marks
Student Marks  Create a simple application which can calculate 5 marks entered by user and find the grade. Create a simple application which can calculate 5 marks entered by user and find the grade. You must display the grade
Sorting the array
Sorting the array  Implement a program to process votes for 5 candidates in a talent contest. The program should use a String array to hold the names of the 5 candidates and an integer array to record the number of votes for each
linear sorting
linear sorting  what is linear sorting? can any send me an example   Hi Friend, Try this: import java.util.*; class ArraySort{ public...("After Sorting: "); for(int i=0;i<arr.length;i++){ System.out.println
sorting numbers
sorting numbers  How to sort the numbers in ascending order   import java.util.*; class SortNumbers{ public static void main(String[] args) { Scanner input=new Scanner(System.in
Sorting Program
Sorting Program  To sort 10items in alphabetical order   Arrays.sort(name of ur array)   import java.util.*; class ArrayExample{ public static void main(String[] args) { String array[]=new
Java sorting
sorting mechanism. say about Collections.Sort() & Arrays.Sort() that uses
sorting and storing data
sorting and storing data   sorting and storing data in UITableView
student information system
student information system  can you show me example of "student information system" pseudo code and flow chart with "student name, student id, student residential hall, student course, student phone numbers
Sorting and Searching
Sorting and Searching  Hi i would really be thankful if someone could help me with this A program is required to ask users to rate the Java programming language using a number in the range 0 - 10. The data input is ended
Sorting an ArrayList
Sorting an ArrayList  print("code sample");Hello All, I am working on a program for school and I am having trouble with sorting my list. The numbers I receive in my output are correct, but not in ascending order as required
Edit the record.
Edit the record.  sir, I have a table consist of huge data.I have displayed that data.side of them there is an edit button which will edit... to previous edited row or edit the previous record of the previously edited
Advertisements
 

 

 

DMCA.com