01 - BCSL043 Java Programming
01 - BCSL043 Java Programming
June, 2016
BCSL-043 - Set - 1 : JAVA PROGRAMMING LAB
1. Write a Java program to create an account class. Define appropriate constructor for 40
this class. Define and implement method to display account balance and withdraw
money. Show appropriate message if there is an attempt to withdraw money which
may lead to account balance, less than minimum amount required in account. Make
necessary assumptions required.
BCSL-043 - Set - 1 1
/
No. of Printed Page : 2 BCSL-043/S1
Bachelor of Computer
Application (Revised) (BCA)
Term-End Examination
December ; 2018
9
Note : (i) There is one compulsory question of 40 marks in this paper.
(A-8) P. T. 0.
Ill
1. Create an applet using Java, which take a number as input and display
table of the number. Use appropriate GUI components and layout in
your applet. 40
B CSL-043/S1(R) 500
(A-8)
No. of Printed Pages : 1 I BCSL-043(P)/S1
BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
3 A_ June, 2018
1. Write a Java program to define Account class. Derive Saving_Account class from
Account class. Define appropriate constructors for both the classes. Define the
following methods in Saving_Account class : 40
Display( ) : To display account detail including account number and balance in
account.
Deposit( ) : To deposit money in account.
BCSL-043(P)/S1 1 3,000
No. of Printed Pages : 1 BC SL-043(P)/S3
1. Create an applet which takes your name and address as input, displays the
name and address in different colors in response to a click of a button. Use
appropriate GUI component in creating the applet. 40
BCSL-043(P)/S3 1 1,000
- No. of Printed Pages : 1 I BCSL-043(P)/S1
BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)
Term-End Practical Examination
CD June, 2017
1. Write a Java program to implement stack data structure with push( ) and pop( )
methods. Define appropriate constructor, methods and make provision for
exceptions handling in your program. 40
BCSL-043(P)/S1 1 3,000