what is object and class in php
Answers
Answered by
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
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
Social Sciences,
4 months ago
Chinese,
4 months ago
English,
4 months ago
Chemistry,
8 months ago
History,
8 months ago
English,
1 year ago
Computer Science,
1 year ago