FatCow Plan for $3.67/mo. only HostPapa 100% Green Energy Web Hosting
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What Is Differences Between Objects And Classes In Php?
06-06-2012, 06:44 AM
Post: #1
What Is Differences Between Objects And Classes In Php?
What Is Differences Between Objects And Classes In Php?
Visit this user's website Find all posts by this user
Quote this message in a reply
09-14-2012, 03:52 AM
Post: #2
RE: What Is Differences Between Objects And Classes In Php?
Class contains properties and functionalities to describe group of object where as object is a collection of variables and methods. Class is defined TYPE of their instances where as object is defined as variable.
Example of class
Class XYZ
{
Public sub()
Public Mul()
}
Example of object
XYZ xyz1 = new XYZ();

Android Application
Find all posts by this user
Quote this message in a reply
11-01-2012, 04:26 AM
Post: #3
RE: What Is Differences Between Objects And Classes In Php?
A class is a bit of code contains properties and methods. An object is instance of the class and every object belongs to the class.

Orange County Web Design
Find all posts by this user
Quote this message in a reply
01-16-2013, 03:38 AM
Post: #4
RE: What Is Differences Between Objects And Classes In Php?
Class define the properties, methods and behavior of objects. Objects are the things you create out of a class.

Asp.net developers || .net development
Find all posts by this user
Quote this message in a reply
01-22-2013, 06:07 AM
Post: #5
RE: What Is Differences Between Objects And Classes In Php?
A class is a piece of code containing methods and properties. An object is a new instance of the class from where you can use the methods & properties in the class.

Continuing Legal Education
Transportation Law
Find all posts by this user
Quote this message in a reply
04-08-2013, 03:52 AM
Post: #6
RE: What Is Differences Between Objects And Classes In Php?
The class contain multiple objects and the object is an instance of the class.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)