Author Topic: Lesson: Object-Oriented Programming Concepts  (Read 67 times)

0 Members and 1 Guest are viewing this topic.

Offline Corps

  • Sr. Member
  • *
  • Posts: 276
  • Karma: +0/-0
    • View Profile
Lesson: Object-Oriented Programming Concepts
« on: November 27, 2008, 03:35:09 PM »
Lesson: Object-Oriented Programming Concepts
If you\'ve never used an object-oriented programming language before, you\'ll need to learn a few basic concepts before you can begin writing any code. This lesson will introduce you to objects, classes, inheritance, interfaces, and packages. Each discussion focuses on how these concepts relate to the real world, while simultaneously providing an introduction to the syntax of the Java programming language.
What Is an Object?

An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that you find in everyday life. This lesson explains how state and behavior are represented within an object, introduces the concept of data encapsulation, and explains the benefits of designing your software in this manner.
What Is a Class?

A class is a blueprint or prototype from which objects are created. This section defines a class that models the state and behavior of a real-world object. It intentionally focuses on the basics, showing how even a simple class can cleanly model state and behavior.
What Is Inheritance?

Inheritance provides a powerful and natural mechanism for organizing and structuring your software. This section explains how classes inherit state and behavior from their superclasses, and explains how to derive one class from another using the simple syntax provided by the Java programming language.
What Is an Interface?

An interface is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that interface. This section defines a simple interface and explains the necessary changes for any class that implements it.
What Is a Package?

A package is a namespace for organizing classes and interfaces in a logical manner. Placing your code into packages makes large software projects easier to manage. This section explains why this is useful, and introduces you to the Application Programming Interface (API) provided by the Java platform.

Techronnati | where technology never sleeps

Lesson: Object-Oriented Programming Concepts
« on: November 27, 2008, 03:35:09 PM »

Mountain View

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
170 Views
Last post August 31, 2008, 11:06:03 PM
by JusticeLeague
0 Replies
181 Views
Last post August 31, 2008, 11:09:30 PM
by JusticeLeague
0 Replies
185 Views
Last post August 31, 2008, 11:11:47 PM
by JusticeLeague
0 Replies
67 Views
Last post November 27, 2008, 03:35:57 PM
by Corps
1 Replies
72 Views
Last post April 06, 2010, 10:58:19 PM
by TDelight

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.