/*In this tutorial I explain a bit about the concept of an interface. An interface is a group of methods that have the message body . The purpose of the interface is a blue print. Any object or class that uses the interface is guarentted to be able to use the specifics of the interface. */
//what i mean is
public interface house
{
public void car( int car, int house {}
}
i//f you then created a class you could use the interface to implement these methods
public class cardetails implements car
//This will allow you to use the interface for your class
{
public int setcar(int car, int house)
{
fregcar = car;
largehourse = house;
}
}
Sunday, 13 February 2011
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Step 1: First you need to download and install python. You can get a python installation from http://www.python.org/download/ Step 2: now...
-
In this file i purposely made mistakes to see what would happen. I hope this helps
-
to settup the database for Django step 1: go to the settings file ENGINE': 'django.db.backends.sqlite3', # Add 'postgresq...
No comments:
Post a Comment