-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcollege2.java
More file actions
46 lines (45 loc) · 1.05 KB
/
college2.java
File metadata and controls
46 lines (45 loc) · 1.05 KB
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
interface AKTU1{
// void Btech()
// {
// System.out.println("Btech by Aktu");
// }
// abstract void manager(); // declaration
// abstract void CEO();
abstract void Btech();
static void shu(){
System.out.println("this is my program ");
}
}
interface LPU
{
abstract void mtech();
public void mba();
}
class college2 implements AKTU1,LPU{
// kOverride
// void manager() // definition
// {
// System.out.println("AKTU manager");
// }
public void Btech(){
System.out.println("Btech of AKTU");
}
void diploma(){
System.out.println("self course");
}
public void mba(){
System.out.println("MBA ");
}
public void mtech(){
System.out.println("Mtech .... ");
}
public static void main(String[] args) {
college2 obj = new college2();
obj.diploma();
obj.mba();
obj.mtech();
obj.Btech();
// AKTU con = new AKTU();
// con.Btech();
}
}