BCSL-043 Solved Assignment 2021-22
BCSL-043 Solved Assignment 2021-22
Subject Name | Java Programming Lab |
Assignment Code | BCSL-043 |
Session | 2021-2022 (July – January) |
File Type | |
Number of Pages | 15 |
Price | Rs. 45 |
To get the PDF click on the button below.
Pay Now
Note:
|
Java Programming Lab (BCSL-043) 2021-2022 (July-January)
Note: This assignment has two questions. Answer both the questions. These questions carry 40 marks. Rest 10 marks are for viva voce. Write Java program and take its output as part of solution. Please go through the guidelines regarding the assignments given in the programme guide for the format of presentation.
Question 1 (a):
Write a Java program to demonstrate us of all the arithmetic and logical operators in Java. (10 Marks)
Question 1 (b):
Write a Java program to create shape class as an abstract class, which is having abstract method area(). Derive classes circle and rectangle from shape class. Override area method in circle and rectangle class to find the area of the respective shape. Define appropriate constructors in circle and rectangle classes. Make necessary assumptions id any. (10 Marks)
BCSL-043 Solved Assignment 2021-22
BCA 4th Sem Solved Assignment 2021-22
BCA 4th Sem Assignment 2021-22 Question PDF
Question 2 (a):
Write a program in java to read the content from a text file and count the number of words in the file. (10 Marks)
Question 2 (b):
Write a program in Java to create an applet which takes a number as input and displays the table of it. Use appropriate layout and user interface in your program. (10 Marks)
BCSL-043 Solved Assignment 2021-22
BCA 4th Sem Solved Assignment 2021-22
BCA 4th Sem Assignment 2021-22 Question PDF