+ Link For Assignments, GDBs & Online Quizzes Solution
+ Link For Past Papers, Solved MCQs, Short Notes & More
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
Assignment No. 01
CS506- Web Design and Development
Total Marks: 20
Due Date: 24/11/2015
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit if:
Your submission must include:
Note: Use Notepad or Notepad++ for coding and JDK package for java source code compilation and running (A guideline document on JDK installation and configuration is given in course download section)
The objective of this assignment is to
You are required to write a java program which contains only two classes named as “BookInfo” and “BookMgtSys”.
BookInfo class must have the following data members:
When you will add book then it will increment variable Total Books and decrement when you will delete book.
BookInfo class must have the following member methods:
BookMgtSys is a public driver class that contains the main() method. The name of you file should be BookMgtSys as it is a public class in your program.
Default constructor: The default constructor will create an ArrayList.
Parameterized constructor: It should take three String parameters named as (ISBN, Book Name, and Author Name) and initializes the data members values with the passed parameters.
addBook(): This method will ask the user to enter ISBN, Book name and Author name and then add the book in
ArrayList and increment the Total Book variable. After successful adding the book, A message box should be displayed containing Book information.
searchBook(): This method takes one parameter which is book name and search the book name in the ArrayList. If search is found then display the Book information otherwise display message that Book not found.
deleteBook(): This method takes one parameter which is book name and delete the book from the ArrayList and then decrement the Total Book variable.
Use JOptionPane for input and output data.
Within main() method, the following message box should be displayed.
If user presses 1 then it should ask the user to add further information
Your assignment must be uploaded/submitted at or before 24th Nov, 2015.
For any query about the assignment, contact at email@example.com
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)
public class bs130305678
how to install jdk ?
good effort of all students............thanks to alll
yar solution humen b de do plz plz plz
ap ko abi bi solution nai mila open eyes
apni file ko usi name say save kia jaye ga jo k coding mein 1st class ka name hoga.
otherwise, u will get error.
so, create a public class and give it name of ur vu id bc12000.
then save your file as bc120____.java
yar yeh uper walay code error a raha h
Mr. Be careful to use yar tone with everyone.
let check me ur error.
plz help karo mare be assi kis software main karna ha
i've replied you.
good مَلیکا ایمان