0% found this document useful (0 votes)
183 views15 pages

BCSL43

Uploaded by

lenovo mi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
183 views15 pages

BCSL43

Uploaded by

lenovo mi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 15
ovia2022, o7 01 IGNOU BCSL-043 SoWved Assignment 2022-2023 BCSL-043 Solved Assignment 2022-2023 [Course Code [BCSL-o43 (Course Title java Programming Lab [Assignment Number [BCA(4)/L-043/Assignment/2022-23 [Maximum Marks bo. [Weightage [25% | ce Diciethsulactation 1st October, 2022 (for July session) hsth April, 2023 (for Jamuary session) 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. Qt. (a) Write a java program for Matrix Multiplication. Make necessary assumptions. (6) (b) Write a Java program to define Book class and appropriate constructor for the class, Define proper getter and sett method's for the class. Make necessary assumptions. (6) (©) Write a program to demonstrate use of: (8) i. Multithreading ii, Exceptions Handling Solution for Qz (a) Note: All the programs are compiled and run on “BlueJ” Java Program for Matrix Multiplication [Multiplication of two matrices of any order] import java.util.Scanner; public class MatrixMultiplication Kt lpublic static void main(String[] args) it lint i, J, k, sum=@, rone, cOne, rTwo, cTwo; |scanner scan = new Scanner(system.in); |system.out.print("Enter First Matrix's Row Size: "); lrone = scan.nextint(); lSystem.out.print(“Enter First Natrix's Column Size: lcOne = scan.nextint(); lint(]{] matrixone = new int[rone] [cone]; hitips:Meamingscience coin a8. o1it072022, 07 01 IGNOU BOSL-043 Solved Assignment 20222025 |system.out.print("enter * |for(is0; icrone; i++) ie |for(j=0; j ices Please Seciect an Option, DrawShape clase Applet Vie Applet cle | (Rectangle Please Sectect an Option orvta2022, 07:01 IGNOU BCSL-043 Solved Assignment 2022-2023, BCA ast Semester Solved Assignment 2022-2005 BCA and Semester Solved Assignment 2022-2023, BCA 31d Semester Solved Assignment 2022-2023 BCA ath Semester Solved Assignment 2022-2023 BCA 5th Semester Solved Assignment 2022-2023 ‘BCA 6th Semester Solved Assignment 2022-2023 hips Meamingscience eo in ans

You might also like