''''using System;
interface IVehicle
{
void start(int x);
void stop(int x);
}
class Bike : IVehicle {
public void start(int x)
{
//...
}
public void stop(int x)
{
//...
}
}
class Bus : IVehicle {
public void start(int x)
{
//...
}
public void stop(int x)
{
//...
}
}
class interfaceDemo
{
public static void main()
{
Bike b1 = new Bike();
Bus b2 = new Bus();
using System;
interface IVehicle
{
void start(int x);
void stop(int x);
}
class Bike : IVehicle {
public void start(int x)
{
//...
}
public void stop(int x)
{
//...
}
}
class Bus : IVehicle {
public void start(int x)
{
//...
}
public void stop(int x)
{
//...
}
}
class interfaceDemo
{
public static void main()
{
Bike b1 = new Bike();
Bus b2 = new Bus();
}
}
'
'''