Course Code : BCSL-043
Course Title : Java Programming Lab
Assignment Number : BCA(4)/BCSL-043/Assignment/2018-19
Maximum Marks : 50
Weightage : 25%
Last date of Submission : 15th October, 2018 (For July, 2018 Session)
15th April, 2019 (For January, 2019 Session)
Note: This assignment has three questions. Answer all the questions. These
questions carry 40 marks. Rest 10 marks are for viva voce. You are
advised to give proper comments and do proper alignments while writing
java program. Please go through the guidelines regarding the
assignments given in the programme guide for the format of presentation.
Question 1:
Write and execute java program which create a Vehicle class and derive Car and Bus
classes from Vehicle class. All the classes in your program should have proper
constructors and methods to display vehicle details such as model, cost, mileage etc.
Also use appropriate access specifiers in your program. (10 Marks)
Question 2:
Write a program in Java to copy the content from a text file to another text file.
(15 Marks)
Question 3:
Write a program in Java to create an applet which generates the table of a given
number between 1-10. If number entered is not in this range ask the user to input the
number again and if input number is zero exit from the program. (15 Marks)
Reviews
There are no reviews yet.