+ 2

What is a class?

can some one explain in detail with definition

4th May 2017, 4:26 AM
Champs
4 Antworten
+ 7
please be more specific. do you mean a class in html or in oop (java, c++, ...)?
4th May 2017, 4:36 AM
Mario L.
Mario L. - avatar
+ 1
class in oop
4th May 2017, 4:39 AM
Champs
0
the simplest term i can think of is, a class contains functions (and more than just functions). a function contains a block of codes. think of class as a container that separates its contents from the other contents in your program. classes can also interact with other classes, and even "copy" each other.
4th May 2017, 12:59 PM
Syazwan Sahdom