top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Class and objects in oops?

+1 vote
229 views

Can someone provide the details about class and objects in oops?

posted May 17, 2014 by Kali Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Class:
This is a programmer-defined datatype, which includes local functions as well as local data. You can think of a class as a template for making many instances of the same kind (or class) of object.

Object:
An individual instance of the data structure defined by a class. You define a class once and then make many objects that belong to it. Objects are also known as instance.

answer May 18, 2014 by Vrije Mani Upadhyay
Similar Questions
0 votes

Do u know about planning or implementing OOP methdology access to array methods in PHP in future. Like show code later:

$a = new Array();
$a->append("hello");
$a->shift();
$p = $a->pop();

$b = Array::fill(fill_char="*", count=20);
$b->pop();
...