Constructor (object-oriented programming): Difference between revisions

Content deleted Content added
YurikBot (talk | contribs)
Line 33:
==Constructors Simplified==
 
Constructors existsexist within classes. Classes in programming language refer to a generic specfication which are not real, but just a prototype. A simple analogy to understanding constructors would be to imagine the following scenerios: Compare class in this case to a class of students. Thus we have
 
===[[Pseudocode]]===
Line 58:
<pre> print(Students.studentName) // output "John"
</pre>
 
 
==See also==