Skip to content

Commit 43011ff

Browse files
2 parents d601bfe + 2ddb872 commit 43011ff

File tree

9 files changed

+115
-0
lines changed

9 files changed

+115
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
import java.util.Scanner;
2+
class MediaModel {
3+
private int id = 0;
4+
private String name = "";
5+
private int connections[];
6+
7+
MediaModel(int id, String name, int connections[]) {
8+
this.id = id;
9+
this.name = name;
10+
this.connections = connections;
11+
}
12+
13+
public int getId() {
14+
return id;
15+
}
16+
17+
public String getName() {
18+
return name;
19+
}
20+
21+
public int[] getConnections() {
22+
return connections;
23+
}
24+
25+
}
26+
27+
class MediaViewModel {
28+
29+
}
30+
31+
32+
public class SocialMedia {
33+
34+
public static void main(String []args){
35+
Scanner sc=new Scanner(System.in);
36+
37+
MediaViewModel media=new MediaViewModel();
38+
int p;
39+
System.out.println("------------------------------------");
40+
System.out.println("1.add the Member\n2.display all the Member\n3.specific Member\n4.Mutual Friends\n5.Exit..");
41+
System.out.println("------------------------------------");
42+
do{
43+
System.out.println("Enter the operation:");
44+
p=sc.nextInt();
45+
switch(p){
46+
case 1:
47+
media.addStudent();
48+
break;
49+
case 2:
50+
media.display();
51+
break;
52+
case 3:
53+
media.specific();
54+
break;
55+
case 4:
56+
System.out.println("Exiting...");
57+
break;
58+
59+
}
60+
61+
}while(p!=5);
62+
sc.close();
63+
64+
}
65+
}
66+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package ArrayBasedProblems;
2+
3+
public class OverlappingIntervals {
4+
5+
}

Mallow

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 639295c7483e3787d4f36bf4799b6f62b1341f0a

TCS-NQT

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 9e923a71d43b90d88d597fa7cdf1ee0c21414d07

Zoho

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit b08f6d598520d8bb03016892aca9a990caf3b95f

demo.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Document</title>
7+
<style>
8+
9+
.c1{
10+
11+
border: 5px solid red;
12+
height: 100px;
13+
display: flex;
14+
justify-content: center;
15+
align-items: center;
16+
17+
}
18+
.c2{
19+
height: 50px;
20+
width: 70px;
21+
background-color: yellow;
22+
border: 1px solid red;
23+
}
24+
</style>
25+
</head>
26+
<body>
27+
<div class="c1">
28+
29+
<div class="c2"></div>
30+
<div class="c2"></div>
31+
<div class="c2"></div>
32+
<div class="c2"></div>
33+
<div class="c2"></div>
34+
<div class="c2"></div>
35+
<div class="c2"></div>
36+
<div class="c2"></div>
37+
<div class="c2"></div>
38+
<div class="c2"></div>
39+
</div>
40+
</body>
41+
</html>

topics to study.xlsx

823 Bytes
Binary file not shown.

~$cursion.docx

162 Bytes
Binary file not shown.

~WRL0005.tmp

1.12 MB
Binary file not shown.

0 commit comments

Comments
 (0)