dear sir,
iam interested to settle as a java programer thats why i am doing java in institute. i just completed my core java. i was interested how the programs are evelope on core java.can you pls help me how the programers develope the programs on core java.
thank q,
your's faithfully ,
LOKESH REDDY.
javaDegapudi siva kumar reddy June 13, 2011 at 3:10 PM
Can anyone help me to do a program to park some cars in a parking. i have to calculate the time a car rest in parking, to insert a car in parking if there is free place to park and to see if a car is parked....Thanks
java programsonu upadhyay January 30, 2012 at 5:28 PM
Sir i need to learn java from begining please send me some basic usefull concept in java with their example so that i can learn java by using this website because for beginners there is some problems to understand a big program firstly.there should be step by step explanation of each word used in this language.
Thanking you.
learn javaTimothy samuel December 9, 2012 at 10:32 PM
hello i want to learn how to right java in one week thank you..............
jave programmingirfan sagir April 5, 2011 at 3:37 PM
I want to learn jave programming to increase my skills.
javak.Gangadhar May 26, 2011 at 4:28 PM
java is very well
how to develope programelokesh reddy May 28, 2011 at 1:08 PM
dear sir, iam interested to settle as a java programer thats why i am doing java in institute. i just completed my core java. i was interested how the programs are evelope on core java.can you pls help me how the programers develope the programs on core java. thank q, your's faithfully , LOKESH REDDY.
javaDegapudi siva kumar reddy June 13, 2011 at 3:10 PM
I am learning java quickly use roseindia.net
core javaRohit Raj Sinha June 21, 2011 at 3:20 PM
i want to learn core java.
javamohan July 8, 2011 at 9:00 PM
i want to learn java quickly
javaina July 10, 2011 at 12:46 AM
this is very support of java beginner learns of the world
I want to subscribesindhu February 9, 2013 at 1:08 PM
please send me the information like OOP concepts, constructor, method, etc., about java on my mail id.
java programming languagesdfsdadsf December 9, 2011 at 6:29 PM
please suggest me a way to learn how to write a java coding.......
Basics of JavaAshish Jain December 13, 2011 at 12:05 PM
Good
Javaarmand January 27, 2012 at 11:31 PM
Can anyone help me to do a program to park some cars in a parking. i have to calculate the time a car rest in parking, to insert a car in parking if there is free place to park and to see if a car is parked....Thanks
java programsonu upadhyay January 30, 2012 at 5:28 PM
i want to learn java.
core javasatyam gupta June 7, 2012 at 7:01 PM
i want core java classes as soon as possibe.
How to learn javaGowri July 11, 2012 at 6:39 PM
Hi , I want to be expert in java, but i was not in good in C,C++, language but interested in java Plz help me ,make me to understand the java anguage.
alli July 12, 2012 at 1:09 PM
Good morning pls can i get a step to step method on how to learn java language
java beginnersPrasoon Tiwari July 25, 2012 at 4:54 PM
Sir i need to learn java from begining please send me some basic usefull concept in java with their example so that i can learn java by using this website because for beginners there is some problems to understand a big program firstly.there should be step by step explanation of each word used in this language. Thanking you.
learn javaTimothy samuel December 9, 2012 at 10:32 PM
hello i want to learn how to right java in one week thank you..............
pls find bugs hereabhu December 2, 2012 at 11:49 PM
package Librarymgmt; import java.io.*; import java.util.*; public class Main { static Integer Id,CNo; static String Name,Author,BookName; static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static ArrayList<Student> al = new ArrayList<Student>(); static HashMap<String, String> hm = new HashMap<String, String>(); public static void main(String[]args) throws IOException{ hm.put("Abhi", "Java for NON IT"); hm.put("Arlur", "Java for Begginers"); hm.put("Madhu", "Java for proffessionals"); hm.put("girish", "Java for Lap"); hm.put("bharath", "Java for TCS HYD"); while(true){ int home; //System.out.println(home); System.out.println("1.Add student detail"+"/n 2.view student detail"+ "/n 3.view books"+ "/n 4. search using author name"+"/n 5.Issue book"+ "/n 6.return book"+ "/n 7.Exit" ); System.out.println("plese enter your choice"); home=Integer.parseInt(br.readLine()); switch(home){ case 1: addStd(); break; case 2: viewStd(); break; case 3: viewBooks(); break; case 4: searchBook(); break; case 5: issueBook(); break; case 6: returnBook(); break; case 7:System.exit(0); default: return; } } } static void addStd() throws IOException { System.out.println("Enter your name"); Name=br.readLine(); System.out.println("Enter your ID"); Id=Integer.parseInt(br.readLine()); System.out.println("Enter your card no"); CNo=Integer.parseInt(br.readLine()); Student s=new Student(Name,Id,CNo); al.add(s); } static void viewStd() throws IOException { for (Student s : al) { System.out.println("Student Name: " + s.getName() + "\tCollege Id: " + s.getId() + "\tLibrary Card No.:" + s.getCNo() + "\n"); } } static void viewBooks() throws IOException { Set<Map.Entry<String, String>>u = hm.entrySet(); for (Map.Entry<String, String> ab : u) { Library lib = new Library(ab.getKey(), ab.getValue()); System.out.println(ab.getKey() + " " + ab.getValue()); } } static void searchBook() throws IOException { System.out.println("Enter The Auther Name"); Author = br.readLine(); Set<Map.Entry<String, String>> set= hm.entrySet(); int count=0; for (Map.Entry<String, String> me : set) { Library lib = new Library(me.getKey(), me.getValue()); if (lib.getAuthorName().equalsIgnoreCase(Author)) { System.out.println("Book Found"); count++; break; } } if(count==0) { System.out.println("Book is Not Found"); } } static void issueBook() throws IOException { System.out.println("Enter The Auther Name"); Author = br.readLine(); System.out.println("Enter The Book Name"); Name = br.readLine(); System.out.println(Author); Set<Map.Entry<String, String>> set = hm.entrySet(); int count=0; for (Map.Entry<String, String> me : set) { Library l = new Library(me.getKey(), me.getValue()); if (l.getAuthorName().equalsIgnoreCase(Author)) { System.out.println("Book Issued"); count++; break; } } if(count==0) { System.out.println("Book is Not Found"); } } static void returnBook() throws IOException { System.out.println("Enter The Auther Name"); Author = br.readLine(); System.out.println("Enter The Book Name"); Name = br.readLine(); System.out.println(Author); Set<Map.Entry<String, String>> set = hm.entrySet(); int count=0; for (Map.Entry<String, String> me : set) { Library l = new Library(me.getKey(), me.getValue()); if (l.getAuthorName().equalsIgnoreCase(Author)) { System.out.println("Book returned"); count++; break; }} } }
Post your Comment