abstract class SHape
{
abstract void noofsize();
}
class Triangle extends SHape
{
void noofsize()
{
System.out.println("The size of triangle is 3");
}
}
class Trapezoid extends SHape
{
void noofsize()
{
System.out.println("The size of trapezoid is 4");
}
}
class Hexagon extends SHape
{
void noofsize()
{
System.out.println("The size of hexagon is 6");
}
}
class Sha1
{
public static void main(String[] args)
{
Triangle t=new Triangle();
Trapezoid u=new Trapezoid();
Hexagon v=new Hexagon();
t.noofsize();
u.noofsize();
v.noofsize();
}
}
New evolution of the Mouse. In 1980's round ball mouses are invented, then technology introduced Optical mouses. Now upcoming Mouse is named as Evo mouse . No more movement of your hands on placing a physical mouse, Your finger is the pointer . You can use this mouse on any Flat Surface and also it requires very little space. This mouse contains a Power button on the top, Mini USb port . It works with the help of bluetooth and input is taken by the sensor. View this Video to know the functionality of EvoMouse
Comments
Post a Comment