interface X
{
void frontened();
void backened();
}
abstract class D implements X
{
@Override
public void frontened()
{
System.out.println("BY JAVA");
}
}
class W extends D
{
@Override
public void backened()
{
System.out.println("BY HTml and css ");
}
}
class V
{
public static void main(String[] args)
{
W r= new W();
r.frontened();
r.backened();
}
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter