Of classes and interfaces

This page is currently putting up with massive transmutation and that is precisely why only the lonely code will have to make do. We will be back here soon, but till then, Thanx for visiting this page. If you are a member of the Java-crazed community, you can still try out the code furnished here. Maybe with some divine intervention you might be able to get the drift...


Program 1

public class zzz extends yyy  
{
}
Program 2
class yyy
{
}
public class zzz extends yyy
{
}
Program 3
interface yyy
{
}
public class zzz extends yyy
{
}
Program 4
interface yyy
{
}
public class zzz implements yyy
{
}
Program 5
interface yyy
{	void aa();
}
public class zzz implements yyy
{
}
Program 6
interface yyy
{	void aa();
}
public class zzz implements yyy
{	void aa()
	{
	}
}
Program 7
interface yyy
{	public void aa();
}
public class zzz implements yyy
{	void aa()
	{
	}
}
Program 8
interface yyy
{	public void aa();
}
public class zzz implements yyy
{	public void aa()
	{
	}
}
Program 9
interface yyy
{	void aa();
}
public class zzz implements yyy
{	public void aa()
	{
	}
}
Program 10
abstract class  yyy
{	void aa();
}
public class zzz extends yyy
{	public void aa()
	{
	}
}
Program 11
abstract class  yyy
{	abstract void aa();
}
public class zzz extends yyy
{	public void aa()
	{
	}
}
Program 12
abstract class  yyy
{	abstract void aa();
}
public class zzz extends yyy
{
}
Program 13
class  yyy
{	abstract void aa();
}
public class zzz extends yyy
{	public void aa();
}
Program 14
abstract class  yyy
{	abstract void aa();
}
public abstract class zzz extends yyy
{	public void aa()
	{
	}
}
Program 15
abstract class  yyy
{	abstract void aa();
}
public abstract class zzz extends yyy
{
}
Program 16
interface   yyy
{	public void aa();
	public void bb()
	{
	}
}
public  class zzz implements yyy
{	public void aa()
	{
	}
}
Program 17
interface   yyy
{	public int i;
	public void aa();
}
public  class zzz implements yyy
{	public void aa()
	{
	}
}
Program 18
interface   yyy
{	public int i = 10;
	public void aa();
}
public  class zzz implements yyy
{	public void aa()
	{
	}
}


Show some class and extend your reach to the next topic "Piddling with the image " or just implement The Mailing Interface i.e., slip on your comments, feedback, suggestions et al to us.

Back to our Java page


Vijay Mukhi's Computer Institute
B-13, Everest Building, Tardeo, Bombay 400 034, India.
http://www.neca.com/~vmis
e-mail : vmukhi@giasbm01.vsnl.net.in
1