-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFaculty.java
64 lines (63 loc) · 2.23 KB
/
Faculty.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import java.util.*;
import java.io.*;
class Faculty extends StudentDairy
{
Scanner s = new Scanner(System.in);
int mrollno;
FacultyJava facultyjava = new FacultyJava(); //Java object.
FacultyDc facultydc = new FacultyDc(); //Digigtal Circuits object.
FacultyMaths facultymaths = new FacultyMaths(); //Maths object.
FacultyDsa facultydsa = new FacultyDsa(); //Data Stuctures object.
public void calljava() //to input marks/attendance for a student by the Java faculty.
{
System.out.println("Enter rollno");
mrollno = s.nextInt();
facultyjava.inputjavamarks(mrollno);
facultyjava.inputjavaAttendance(mrollno);
}
public void callds() //to input marks/attendance for a student by the Data Structures faculty.
{
System.out.println("Enter rollno");
mrollno = s.nextInt();
facultydsa.inputdsamarks(mrollno);
facultydsa.inputdsaAttendance(mrollno);
}
public void calldc() //to input marks/attendance for a student by the Digital Circuits faculty.
{
System.out.println("Enter rollno");
mrollno = s.nextInt();
facultydc.inputdcmarks(mrollno);
facultydc.inputdcAttendance(mrollno);
}
public void callmaths() //to input marks/attendance for a student by the Maths faculty.
{
System.out.println("Enter rollno");
mrollno = s.nextInt();
facultymaths.inputmathsmarks(mrollno);
facultymaths.inputmathsattendance(mrollno);
}
public void getjava() //to the marks/attendance for a student in Java.
{
System.out.println("Enter rollno");
mrollno = s.nextInt();
facultyjava.getjavamarks(mrollno);
}
public void getdsa() //to the marks/attendance for a student in Data Structures.
{
System.out.println("Enter rollno");
mrollno = s.nextInt();
facultydsa.getdsamarks(mrollno);
}
public void getdc() //to the marks/attendance for a student Digital Circuits.
{
System.out.println("Enter rollno");
mrollno = s.nextInt();
facultydc.getdcmarks(mrollno);
}
public void getmaths() //to the marks/attendance for a student Maths.
{
System.out.println("Enter rollno");
mrollno = s.nextInt();
facultymaths.getmathsmarks(mrollno);
}
}