Skip to content

Commit

Permalink
Merge pull request #134 from SanyogitaChauhan/master
Browse files Browse the repository at this point in the history
HacktoberFest-2022
  • Loading branch information
Ayushsinhahaha authored Oct 30, 2022
2 parents 3a07711 + cc8f0f2 commit 7af5dfa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions interface_ex.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
interface RAM
{
void process ();
}
interface MOUSE
{
void process();
}
class system implements RAM,MOUSE
{
public void process()
{
System.out.println("RAM Fit in System");
System.out.println("MOUSE Fit in System");
}
}
class interface_ex
{
public static void main(String args[])
{
system S=new system();
S.process();
S.process();
}
}

0 comments on commit 7af5dfa

Please sign in to comment.