World Languages, asked by sonarpinky, 6 months ago

what is object and class in php

Answers

Answered by niishaa
6

Answer:

A class is a self-contained, independent collection of variables and functions which work together to perform one or more specific tasks, while objects are individual instances of a class. A class acts as a template or blueprint from which lots of individual objects can be created.

Explanation:

hope it helps ✌️✌️✌️

Answered by patelom2003
0

Answer:

mark me brainlest

Explanation:

A class is a self-contained, independent collection of variables and functions which work together to perform one or more specific tasks, while objects are individual instances of a class. A class acts as a template or blueprint from which lots of individual objects can be created.

Similar questions