jump to navigation

Object-Oriented Programming Concepts July 31, 2005

Posted by Coolguy in J2SE.

An object is a software bundle of related variables and methods

A class is a blueprint that defines the variables and the methods common to all objects of a certain kind.

A class inherits state and behavior from its superclass

Multiple inheritance:
Java does not support multiple inheritance, allowing a class to extend more than one base class. It does however support implementing multiple “interfaces “, which is similar to multiple inheritance but simpler and safer.



No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: