ru
Feedback
Advance Java πŸ‘¨β€πŸ’»

Advance Java πŸ‘¨β€πŸ’»

ΠžΡ‚ΠΊΡ€Ρ‹Ρ‚ΡŒ Π² Telegram

This channel will serve you all the Codes and Programs of java Programming Language Contact Admin: @Pravin_Suthar Youtube channel: https://www.youtube.com/channel/UCWFwwPMuAx_DY3hi9Tin7gA Like share and subscribe my channel

Π‘ΠΎΠ»ΡŒΡˆΠ΅
Π‘Ρ‚Ρ€Π°Π½Π° Π½Π΅ ΡƒΠΊΠ°Π·Π°Π½Π°Π’Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈ прилоТСния7 898

πŸ“ˆ АналитичСский ΠΎΠ±Π·ΠΎΡ€ Telegram-ΠΊΠ°Π½Π°Π»Π° Advance Java πŸ‘¨β€πŸ’»

Канал Advance Java πŸ‘¨β€πŸ’» (@java_codings) языкового сСгмСнта Английский являСтся Π°ΠΊΡ‚ΠΈΠ²Π½Ρ‹ΠΌ участником. БСйчас сообщСство ΠΎΠ±ΡŠΠ΅Π΄ΠΈΠ½ΡΠ΅Ρ‚ 12 264 подписчиков, занимая 7 898 мСсто Π² ΠΊΠ°Ρ‚Π΅Π³ΠΎΡ€ΠΈΠΈ Π’Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈ прилоТСния.

πŸ“Š ΠŸΠΎΠΊΠ°Π·Π°Ρ‚Π΅Π»ΠΈ Π°ΡƒΠ΄ΠΈΡ‚ΠΎΡ€ΠΈΠΈ ΠΈ Π΄ΠΈΠ½Π°ΠΌΠΈΠΊΠ°

Π‘ ΠΌΠΎΠΌΠ΅Π½Ρ‚Π° создания Π½Π΅Π²Ρ–Π΄ΠΎΠΌΠΎ ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ дСмонстрируСт ΡΡ‚Ρ€Π΅ΠΌΠΈΡ‚Π΅Π»ΡŒΠ½Ρ‹ΠΉ рост, собрав Π°ΡƒΠ΄ΠΈΡ‚ΠΎΡ€ΠΈΡŽ ΠΈΠ· 12 264 подписчиков.

Богласно послСдним Π΄Π°Π½Π½Ρ‹ΠΌ ΠΎΡ‚ 03 дСкабря, 2024, ΠΊΠ°Π½Π°Π» ΠΏΠΎΠΊΠ°Π·Ρ‹Π²Π°Π΅Ρ‚ ΡΡ‚Π°Π±ΠΈΠ»ΡŒΠ½ΡƒΡŽ Π°ΠΊΡ‚ΠΈΠ²Π½ΠΎΡΡ‚ΡŒ. Π—Π° послСдниС 30 Π΄Π½Π΅ΠΉ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠ΅ числа участников составило 0, Π° Π·Π° послСдниС 24 часа β€” 0, ΠΏΡ€ΠΈ этом ΠΎΠ±Ρ‰ΠΈΠΉ ΠΎΡ…Π²Π°Ρ‚ остаётся высоким.

  • Бтатус Π²Π΅Ρ€ΠΈΡ„ΠΈΠΊΠ°Ρ†ΠΈΠΈ: НС Π²Π΅Ρ€ΠΈΡ„ΠΈΡ†ΠΈΡ€ΠΎΠ²Π°Π½
  • Π£Ρ€ΠΎΠ²Π΅Π½ΡŒ вовлСчённости (ER): Π‘Ρ€Π΅Π΄Π½ΠΈΠΉ ΠΏΠΎΠΊΠ°Π·Π°Ρ‚Π΅Π»ΡŒ вовлСчённости Π°ΡƒΠ΄ΠΈΡ‚ΠΎΡ€ΠΈΠΈ составляСт 0%. Π’ ΠΏΠ΅Ρ€Π²Ρ‹Π΅ 24 часа послС ΠΏΡƒΠ±Π»ΠΈΠΊΠ°Ρ†ΠΈΠΈ ΠΊΠΎΠ½Ρ‚Π΅Π½Ρ‚ ΠΎΠ±Ρ‹Ρ‡Π½ΠΎ Π½Π°Π±ΠΈΡ€Π°Π΅Ρ‚ N/A% Ρ€Π΅Π°ΠΊΡ†ΠΈΠΉ ΠΎΡ‚ ΠΎΠ±Ρ‰Π΅Π³ΠΎ числа подписчиков.
  • ΠžΡ…Π²Π°Ρ‚ ΠΏΡƒΠ±Π»ΠΈΠΊΠ°Ρ†ΠΈΠΉ: Π’ срСднСм ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ пост ΠΏΠΎΠ»ΡƒΡ‡Π°Π΅Ρ‚ 0 просмотров. Π’ Ρ‚Π΅Ρ‡Π΅Π½ΠΈΠ΅ ΠΏΠ΅Ρ€Π²Ρ‹Ρ… суток публикация Π½Π°Π±ΠΈΡ€Π°Π΅Ρ‚ 0 просмотров.
  • Π Π΅Π°ΠΊΡ†ΠΈΠΈ ΠΈ взаимодСйствия: Аудитория Π°ΠΊΡ‚ΠΈΠ²Π½ΠΎ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅Ρ‚ ΠΊΠΎΠ½Ρ‚Π΅Π½Ρ‚: срСднСС количСство Ρ€Π΅Π°ΠΊΡ†ΠΈΠΉ Π½Π° ΠΎΠ΄ΠΈΠ½ пост β€” 0.

πŸ“ ОписаниС ΠΈ контСнтная ΠΏΠΎΠ»ΠΈΡ‚ΠΈΠΊΠ°

Автор описываСт рСсурс ΠΊΠ°ΠΊ ΠΏΠ»ΠΎΡ‰Π°Π΄ΠΊΡƒ для выраТСния ΡΡƒΠ±ΡŠΠ΅ΠΊΡ‚ΠΈΠ²Π½ΠΎΠ³ΠΎ мнСния:
β€œThis channel will serve you all the Codes and Programs of java Programming Language Contact Admin: @Pravin_Suthar Youtube channel: https://www.youtube.com/channel/UCWFwwPMuAx_DY3hi9Tin7gA Like share and subscribe my channel”

Благодаря высокой частотС ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΉ (послСдниС Π΄Π°Π½Π½Ρ‹Π΅ ΠΏΠΎΠ»ΡƒΡ‡Π΅Π½Ρ‹ 04 дСкабря, 2024) ΠΊΠ°Π½Π°Π» ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅Ρ‚ Π°ΠΊΡ‚ΡƒΠ°Π»ΡŒΠ½ΠΎΡΡ‚ΡŒ ΠΈ высокий ΡƒΡ€ΠΎΠ²Π΅Π½ΡŒ ΠΎΡ…Π²Π°Ρ‚Π° ΠΏΡƒΠ±Π»ΠΈΠΊΠ°Ρ†ΠΈΠΉ. Аналитика ΠΏΠΎΠΊΠ°Π·Ρ‹Π²Π°Π΅Ρ‚, Ρ‡Ρ‚ΠΎ аудитория Π°ΠΊΡ‚ΠΈΠ²Π½ΠΎ взаимодСйствуСт с ΠΊΠΎΠ½Ρ‚Π΅Π½Ρ‚ΠΎΠΌ, Ρ‡Ρ‚ΠΎ Π΄Π΅Π»Π°Π΅Ρ‚ Π΅Π³ΠΎ Π²Π°ΠΆΠ½ΠΎΠΉ Ρ‚ΠΎΡ‡ΠΊΠΎΠΉ влияния Π² ΠΊΠ°Ρ‚Π΅Π³ΠΎΡ€ΠΈΠΈ Π’Π΅Ρ…Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈ прилоТСния.

12 264
ΠŸΠΎΠ΄ΠΏΠΈΡΡ‡ΠΈΠΊΠΈ
НСт Π΄Π°Π½Π½Ρ‹Ρ…24 часа
НСт Π΄Π°Π½Π½Ρ‹Ρ…7 Π΄Π½Π΅ΠΉ
НСт Π΄Π°Π½Π½Ρ‹Ρ…30 дСнь

Π—Π°Π³Ρ€ΡƒΠ·ΠΊΠ° Π΄Π°Π½Π½Ρ‹Ρ…...

ΠŸΠΎΡ…ΠΎΠΆΠΈΠ΅ ΠΊΠ°Π½Π°Π»Ρ‹
НСт Π΄Π°Π½Π½Ρ‹Ρ…
Π’ΠΎΠ·Π½ΠΈΠΊΠ»ΠΈ ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌΡ‹? ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, ΠΎΠ±Π½ΠΎΠ²ΠΈΡ‚Π΅ страницу ΠΈΠ»ΠΈ ΠΎΠ±Ρ€Π°Ρ‚ΠΈΡ‚Π΅ΡΡŒ ΠΊ Π½Π°ΡˆΠ΅ΠΌΡƒ support-ΠΌΠ΅Π½Π΅Π΄ΠΆΠ΅Ρ€Ρƒ .
Облако Ρ‚Π΅Π³ΠΎΠ²
НСт Π΄Π°Π½Π½Ρ‹Ρ…
Π’ΠΎΠ·Π½ΠΈΠΊΠ»ΠΈ ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌΡ‹? ΠŸΠΎΠΆΠ°Π»ΡƒΠΉΡΡ‚Π°, ΠΎΠ±Π½ΠΎΠ²ΠΈΡ‚Π΅ страницу ΠΈΠ»ΠΈ ΠΎΠ±Ρ€Π°Ρ‚ΠΈΡ‚Π΅ΡΡŒ ΠΊ Π½Π°ΡˆΠ΅ΠΌΡƒ support-ΠΌΠ΅Π½Π΅Π΄ΠΆΠ΅Ρ€Ρƒ .
ВходящиС ΠΈ исходящиС упоминания
---
---
---
---
---
---
ΠŸΡ€ΠΈΠ²Π»Π΅Ρ‡Π΅Π½ΠΈΠ΅ подписчиков
Π΄Π΅ΠΊΠ°Π±Ρ€ΡŒ '24
Π΄Π΅ΠΊΠ°Π±Ρ€ΡŒ '24
+2
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Π½ΠΎΡΠ±Ρ€ΡŒ '240
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΎΠΊΡ‚ΡΠ±Ρ€ΡŒ '240
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΡΠ΅Π½Ρ‚ΡΠ±Ρ€ΡŒ '240
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
август '240
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
июль '240
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
июнь '24
+53
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΌΠ°ΠΉ '24
+59
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π°ΠΏΡ€Π΅Π»ΡŒ '24
+53
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΌΠ°Ρ€Ρ‚ '24
+50
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Ρ„Π΅Π²Ρ€Π°Π»ΡŒ '24
+51
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΡΠ½Π²Π°Ρ€ΡŒ '24
+1 597
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π΄Π΅ΠΊΠ°Π±Ρ€ΡŒ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π½ΠΎΡΠ±Ρ€ΡŒ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΎΠΊΡ‚ΡΠ±Ρ€ΡŒ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΡΠ΅Π½Ρ‚ΡΠ±Ρ€ΡŒ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
август '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
июль '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
июнь '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΌΠ°ΠΉ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π°ΠΏΡ€Π΅Π»ΡŒ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΌΠ°Ρ€Ρ‚ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Ρ„Π΅Π²Ρ€Π°Π»ΡŒ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΡΠ½Π²Π°Ρ€ΡŒ '230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π΄Π΅ΠΊΠ°Π±Ρ€ΡŒ '220
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π½ΠΎΡΠ±Ρ€ΡŒ '22
+350
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΎΠΊΡ‚ΡΠ±Ρ€ΡŒ '22
+295
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΡΠ΅Π½Ρ‚ΡΠ±Ρ€ΡŒ '22
+417
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
август '22
+775
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
июль '220
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
июнь '22
+631
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΌΠ°ΠΉ '220
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π°ΠΏΡ€Π΅Π»ΡŒ '22
+3 711
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΌΠ°Ρ€Ρ‚ '220
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Ρ„Π΅Π²Ρ€Π°Π»ΡŒ '220
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΡΠ½Π²Π°Ρ€ΡŒ '220
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π΄Π΅ΠΊΠ°Π±Ρ€ΡŒ '210
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π½ΠΎΡΠ±Ρ€ΡŒ '210
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΎΠΊΡ‚ΡΠ±Ρ€ΡŒ '210
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΡΠ΅Π½Ρ‚ΡΠ±Ρ€ΡŒ '210
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
август '210
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
июль '210
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
июнь '21
+234
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΌΠ°ΠΉ '21
+257
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π°ΠΏΡ€Π΅Π»ΡŒ '21
+245
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΠΌΠ°Ρ€Ρ‚ '21
+230
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Ρ„Π΅Π²Ρ€Π°Π»ΡŒ '21
+236
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
ΡΠ½Π²Π°Ρ€ΡŒ '21
+204
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
Get PRO
Π΄Π΅ΠΊΠ°Π±Ρ€ΡŒ '20
+4 021
Π² 0 ΠΊΠ°Π½Π°Π»Π°Ρ…
ΠŸΠΎΡΡ‚Ρ‹ ΠΊΠ°Π½Π°Π»Π°
2
https://www.instagram.com/p/C1QzC3hJoEq/?igsh=MTc4MmM1YmI2Ng==
13 004
3
Learn the basics of reacjs and setup themes from scratch. https://youtube.com/playlist?list=PLcGjb_nf4rNw89854fHsqHTeCpLaNgoEw&si=J90lPx8hFLHlqRmM You will learn in this series. 1. How to set up the project theme 2. Best practices and tips for folder structure in ReactJS 3. Basics of React 4. How to create a reusable component and reuse it in a project. 5. How to create a theme layout 6. State and Props (pass data between components)
14 718
4
MySQL complete course for beginners https://www.youtube.com/playlist?list=PLcGjb_nf4rNwjUe74arheIyIRJqdIjh1B
10 372
5
https://youtu.be/osLDmH6KBmQ Explore detailed insight of tree shaking in javascript to boost your application 10x times faster.
11 260
6
Webscraping of flipkart product using node js with practical example. https://youtu.be/_Q0EMB1McXE Please like, share and subscribe
10 505
7
https://youtu.be/qDGyf_DD8WE?si=Uw7E7y8tUkBqxbfK
9 696
8
Node js tutorial: https://www.youtube.com/watch?v=XkpbjI_GyJo&list=PLcGjb_nf4rNxR1eCFakb_-4TUA4FCOW9q
9 433
9
Javascript Tutorial: https://www.youtube.com/watch?v=wm6LNo6715o&list=PLcGjb_nf4rNwdtG7JP0j0qcgAZ74b4-5A
8 430
10
https://youtube.com/@codingfragments?si=g21jjjTZ1T07VWXX Check out this YouTube channel to learn the programming language.
8 513
11
Check out Advance Java: https://t.me/joinchat/UEKAm2OSf7thOTk1
26 690
12
62. Multidimensional Array. class MultiDimArrayExample { public static void main(String[] args) { String[][] names = {{"Mr. ", "Mrs. ", "Ms. "}, {"Smith", "Jones"}}; // Mr. Smith System.out.println(names[0][0] + names[1][0]); // Ms. Jones System.out.println(names[0][2] + names[1][1]); } } @java_codings
8 438
13
61. Missing number in an array. class MissingNumberArray { public static int count = 0; public static int position = 0; public static boolean flag = false; public static void main(String[] args) { int a[] = {0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 21, 23}; findMissingNumbers(a, position); } private static void findMissingNumbers(int a[], int position) { if (position == a.length - 1) return; for (; position < a[a.length - 1]; position++) { if ((a[position] - count) != position) { System.out.println("Missing Number: " + (position + count)); flag = true; count++; break; } } if (flag) { flag = false; findMissingNumbers(a, position); } } } @java_codings
7 716
14
60. Mirror Matrix. import java.util.*; class MirrorMatrix { public static void main(String[] args) { int row, column; Scanner in = new Scanner(System.in); System.out.print("Enter number of rows for matrix :"); row = in.nextInt(); System.out.print("Enter number of rows for matrix :"); column = in.nextInt(); int matrix[][] = new int[row][column]; System.out.println("Enter matrix : "); for (int i = 0; i < row; i++) { for (int j = 0; j < column; j++) { matrix[i][j] = in.nextInt(); } } System.out.println("Mirror matrix : "); for (int i = 0; i < row; i++) { for (int j = column - 1; j >= 0; j--) { System.out.print(matrix[i][j] + "\t"); } System.out.println(""); } } } @java_codings
20 216
15
59. Middle value of an array. import java.util.*; class MiddleValue { public static void main(String args[]) { int[] a; int i, j, n, sum = 0, swap, size; double t; Scanner sc = new Scanner(System.in); System.out.println("Enter size of array"); size = sc.nextInt(); a = new int[size]; System.out.println("Enter numbers "); for (i = 0; i < size; i++) { a[i] = sc.nextInt(); } System.out.println("Numbers are : "); for (i = 0; i < size; i++) { System.out.print(a[i] + " "); } //Sorting for (i = 0; i < (size - 1); i++) { for (j = 0; j < (size - i - 1); j++) { if (a[j] > a[j + 1]) { swap = a[j]; a[j] = a[j + 1]; a[j + 1] = swap; } } } System.out.println("\nNumbers in sorted order : "); for (i = 0; i < size; i++) { System.out.print(a[i] + " "); } //Finding the Middle Value if (size % 2 == 0) { n = (size + 1) / 2; t = (a[n] + a[n - 1]) / 2.0; System.out.println("\nMiddle Value is : " + t); } else { System.out.println("\nMiddle Value is : " + a[size / 2]); } } } @java_codings
15 820
16
58. Merge two array. class MergeArrayDemo { public static void main(String args[]) { Integer a[]={1,2,3,4}; Integer b[]={5,6,7,0}; Integer[] both = concat(a, b); System.out.print("\nFirst Array : "); for(int i=0;i<a.length;i++) { System.out.print(a[i]+"\t"); } System.out.print("\nSecond Array : "); for(int i=0;i<b.length;i++) { System.out.print(b[i]+"\t"); } System.out.print("\nMerged Array : "); for(int i=0;i<both.length;i++) { System.out.print(both[i]+"\t"); } } public static Integer[] concat(Integer[] a, Integer[] b) { int aLen = a.length; int bLen = b.length; Integer[] c= new Integer[aLen+bLen]; System.arraycopy(a, 0, c, 0, aLen); System.arraycopy(b, 0, c, aLen, bLen); return c; } } @java_codings
12 794
17
57. Matrix Subtraction. import java.util.Scanner; class Matrix_Subtraction { Scanner scan; int matrix1[][], matrix2[][], sub[][]; int row, column; void create() { scan = new Scanner(System.in); System.out.println("Matrix Subtraction"); // First Matrix Creation.. System.out.println("\nEnter number of rows & columns"); row = Integer.parseInt(scan.nextLine()); column = Integer.parseInt(scan.nextLine()); matrix1 = new int[row][column]; matrix2 = new int[row][column]; sub = new int[row][column]; System.out.println("Enter the data for first matrix :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { matrix1[i][j] = scan.nextInt(); } } // Second Matrix Creation.. System.out.println("Enter the data for second matrix :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { matrix2[i][j] = scan.nextInt(); } } } void display() { System.out.println("\nThe First Matrix is :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { System.out.print("\t" + matrix1[i][j]); } System.out.println(); } System.out.println("\n\nThe Second Matrix is :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { System.out.print("\t" + matrix2[i][j]); } System.out.println(); } } void sub() { for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { sub[i][j] = matrix1[i][j] - matrix2[i][j]; } } System.out.println("\n\nThe Subtraction is :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { System.out.print("\t" + sub[i][j]); } System.out.println(); } } } class MatrixSubtractionExample { public static void main(String args[]) { Matrix_Subtraction obj = new Matrix_Subtraction(); obj.create(); obj.display(); obj.sub(); } } @java_codings
11 679
18
56. Matrix Operations. import java.util.Scanner; public class Matrices { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Enter number of rows: "); int rows = scanner.nextInt(); System.out.print("Enter number of columns: "); int columns = scanner.nextInt(); System.out.println(); System.out.println("Enter first matrix"); int[][] a = readMatrix(rows, columns); System.out.println(); System.out.println("Enter second matrix"); int[][] b = readMatrix(rows, columns); int[][] sum = add(a, b); int[][] difference1 = subtract(a, b); int[][] difference2 = subtract(b, a); System.out.println(); System.out.println("A + B ="); printMatrix(sum); System.out.println(); System.out.println("A - B ="); printMatrix(difference1); System.out.println(); System.out.println("B - A ="); printMatrix(difference2); } public static int[][] readMatrix(int rows, int columns) { int[][] result = new int[rows][columns]; Scanner s = new Scanner(System.in); for (int i = 0; i < rows; i++) { for (int j = 0; j < columns; j++) { result[i][j] = s.nextInt(); } } return result; } public static int[][] add(int[][] a, int[][] b) { int rows = a.length; int columns = a[0].length; int[][] result = new int[rows][columns]; for (int i = 0; i < rows; i++) { for (int j = 0; j < columns; j++) { result[i][j] = a[i][j] + b[i][j]; } } return result; } public static int[][] subtract(int[][] a, int[][] b) { int rows = a.length; int columns = a[0].length; int[][] result = new int[rows][columns]; for (int i = 0; i < rows; i++) { for (int j = 0; j < columns; j++) { result[i][j] = a[i][j] - b[i][j]; } } return result; } public static void printMatrix(int[][] matrix) { int rows = matrix.length; int columns = matrix[0].length; for (int i = 0; i < rows; i++) { for (int j = 0; j < columns; j++) { System.out.print(matrix[i][j] + " "); } System.out.println(); } } } @java_codings
9 912
19
55. Matrix Multiplication. import java.util.Scanner; class MatrixMultiplication { public static void main(String args[]) { int m, n, p, q, sum = 0, c, d, k; Scanner in = new Scanner(System.in); System.out.println("Enter the number of rows and columns of first matrix"); m = in.nextInt(); n = in.nextInt(); int first[][] = new int[m][n]; System.out.println("Enter the elements of first matrix"); for (c = 0; c < m; c++) { for (d = 0; d < n; d++) { first[c][d] = in.nextInt(); } } System.out.println("Enter the number of rows and columns of second matrix"); p = in.nextInt(); q = in.nextInt(); if (n != p) System.out.println("Matrices with entered orders can't be multiplied with each other."); else { int second[][] = new int[p][q]; int multiply[][] = new int[m][q]; System.out.println("Enter the elements of second matrix"); for (c = 0; c < p; c++) { for (d = 0; d < q; d++) { second[c][d] = in.nextInt(); } } for (c = 0; c < m; c++) { for (d = 0; d < q; d++) { for (k = 0; k < p; k++) { sum = sum + first[c][k] * second[k][d]; } multiply[c][d] = sum; sum = 0; } } System.out.println("Product of entered matrices:-"); for (c = 0; c < m; c++) { for (d = 0; d < q; d++) { System.out.print(multiply[c][d] + "\t"); } System.out.print("\n"); } } } } @java_codings
9 108
20
54. Matrix Addition. import java.util.Scanner; class MatrixAddition { Scanner scan; int matrix1[][], matrix2[][], sum[][]; int row, column; void create() { scan = new Scanner(System.in); System.out.println("Matrix Addition"); // First Matrix Creation.. System.out.println("\nEnter number of rows & columns"); row = Integer.parseInt(scan.nextLine()); column = Integer.parseInt(scan.nextLine()); matrix1 = new int[row][column]; matrix2 = new int[row][column]; sum = new int[row][column]; System.out.println("Enter the data for first matrix :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { matrix1[i][j] = scan.nextInt(); } } // Second Matrix Creation.. System.out.println("Enter the data for second matrix :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { matrix2[i][j] = scan.nextInt(); } } } void display() { System.out.println("\nThe First Matrix is :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { System.out.print("\t" + matrix1[i][j]); } System.out.println(); } System.out.println("\n\nThe Second Matrix is :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { System.out.print("\t" + matrix2[i][j]); } System.out.println(); } } void add() { for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { sum[i][j] = matrix1[i][j] + matrix2[i][j]; } } System.out.println("\n\nThe Sum is :"); for(int i=0; i &lt row; i++) { for(int j=0; j &lt column; j++) { System.out.print("\t" + sum[i][j]); } System.out.println(); } } } class MatrixAdditionExample { public static void main(String args[]) { MatrixAddition obj = new MatrixAddition(); obj.create(); obj.display(); obj.add(); } } @java_codings
8 098