answersLogoWhite

0


Best Answer

import java.io.*;

class lib

{

int bno,fine=10,edit,date,ret,userdt;

String auth,publi,buknam;

void get()throws IOException

{

BufferedReader br=new BufferedReader(new InputStreamReader(System.in));

System.out.print("\tEnter the book number:");

bno=Integer.parseInt(br.readLine());

System.out.print("\tEnter the book u want:");

buknam=br.readLine();

System.out.print("\tEnter the author's name:");

auth=br.readLine();

System.out.print("\tEnter the edition:");

edit=Integer.parseInt(br.readLine());

System.out.print("\tEnter the date of issuing:");

date=Integer.parseInt(br.readLine());

System.out.print("\tEnter the return date:");

ret=Integer.parseInt(br.readLine());

}

}

class fin extends lib

{

void get1()throws IOException

{

BufferedReader br2=new BufferedReader(new InputStreamReader(System.in));

System.out.print("\tuser returning date:");

userdt=Integer.parseInt(br2.readLine());

if(userdt>ret+10)

{

System.out.println("\t\t PAY THE FINE AMOUNT...!!!! RS:"+fine+"/-");

}

}

void disp()

{

System.out.println("\t THANKS FOR USING OUR SERVICE...:-)...");

}

}

class libmain

{

public static void main(String ar[])throws Exception

{

BufferedReader br1=new BufferedReader(new InputStreamReader(System.in));

int s,k=0,i;

fin f=new fin();

System.out.println("\n\t\t^*^*^*^*^*^*^* LIBRARY MANAGEMENT ^*^*^*^*^*^*^");

do

{

System.out.println("------------------MENU-------------------------------");

System.out.println("\nENTER UR CHOICE\n\t1.GONNA TAKE A BOOK\n\t2.RETURN THE BOOK\n\t3.EXIT");

s=Integer.parseInt(br1.readLine());

switch(s)

{

case 1:

f.get();

f.disp();

break;

case 2:

f.get();

f.get1();

break;

case 3:

k=1;

break;

}

}

while(k==0);

}

}

with regards

sm.muthu :-)

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

First, before going into technical details about a specific language (like Java), you will have to decide what information you want to manage, and perhaps save in a database, about the students. Do you want only simple things like student name, age, sex, telephone? Do you need to record information about every subject for which the student registers, including at least the final grades? Do you want to include payment information?

Depending on how complete the system is going to be, you might easily need 20 or more different tables in a database, and the corresponding windows and other objects to manage the information.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Java programing in library management system program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does the introduction about library management system explain?

The introduction about Library Management System explains briefly what the Library Management System is all about.


Feasibility study of library management system?

fesability study for library management system


What is WIN32 programing?

a developer program to make your phone hide system information


Feasibility study on computerized library management system?

cultural and political feasibility of library management system.


What is the cricuit daigram for library management system using RFID for normal college level library management system?

Inner circuit diagram view of the intelligance library management system by using RFID


What is ethical consideration of library management system?

social consideration of library system


How do you draw componant diagram for library management system?

component diagram for library managment system


Class diagram for library management system?

Library Domain Model describes main classes and relationships which could be used during analysis phase to better understand domain area for Integrated Library System (ILS), also known as a Library Management System (LMS).See link below as an example of Class diagram for Library Management System.


Which is the best place to learn about library management system?

One of the best places to learn about the library management system would be to visit your local library and express your interest to them. Most librarians would be happy to accommodate your needs and explain the system to you. Failing that, FollettSoftware provides a download allowing you to set up a library management system.


How to draw E-R diagram for library management system?

how to draw the er diagram of library management system


What is bank management system?

A bank management system is a software program. This program allows the bank to manage all the interactions that happen within a bank.


Er diagram for library management?

Library management can contain entities like categories of book, authors, year of publication etc. These can be shown in a diagram.