Untitled
unknown
java
4 years ago
950 B
3
Indexable
package com.JavaClass; public class Main { public static void main(String[] args) { Client obj = new Client(); obj.css(); obj.colorcode("#FFA500"); obj.html(); obj.php(); obj.python(); } } interface FrontEnd { void css(); void colorcode(String color); void html(); } interface BackEnd { void php(); void python(); } class Client implements FrontEnd, BackEnd { public void css() { System.out.println("Frontend css method"); } public void colorcode(String Code) { System.out.println("Color of the circle "+Code); } public void html() { System.out.println("Frontend html method"); } public void php() { System.out.println("BackEnd php method"); } public void python() { System.out.println("BackEnd python method"); } }
Editor is loading...