garymgordon
Programmer
Questions ...
1) What is a 'blessed' reference? (And, where does this name 'blessed' come from or mean?)
2) I was reading a statement that said "Data and the subroutines (called methods) that act on data are combined into a single entity called an object."
Did they mean ... subroutines - are called methods, or that ... data and the subroutines (together) are called methods? I was confused.
3) Can you explain ... in simple terms what a constructor is?? It said that a constructor is a special subroutine that defines a data type to maintain the attributes of a class and returns a reference to the variable.
Can you (in lay person's terms) explain this to me .. and maybe give me an easy to understand example??
4) Now, they also mentioned "attributes of a CLASS". Can you explain what a CLASS is ... and how it differs from an OBJECT ... and how that differs from a PACKAGE?? Please explain these - as they relate to each other - yet how they are different ... and maybe an example of how the work together, etc.
Thanks,
Gary
PS: If you know of an easy to understand (online) tutorial on the subject of object oriented programming (for a BEGINNER) would be very much appreciated.
Gary M. Gordon, LLC
webmaster@garymgordon.com
Certified Web Developer ::
Application Programmer
1) What is a 'blessed' reference? (And, where does this name 'blessed' come from or mean?)
2) I was reading a statement that said "Data and the subroutines (called methods) that act on data are combined into a single entity called an object."
Did they mean ... subroutines - are called methods, or that ... data and the subroutines (together) are called methods? I was confused.
3) Can you explain ... in simple terms what a constructor is?? It said that a constructor is a special subroutine that defines a data type to maintain the attributes of a class and returns a reference to the variable.
Can you (in lay person's terms) explain this to me .. and maybe give me an easy to understand example??
4) Now, they also mentioned "attributes of a CLASS". Can you explain what a CLASS is ... and how it differs from an OBJECT ... and how that differs from a PACKAGE?? Please explain these - as they relate to each other - yet how they are different ... and maybe an example of how the work together, etc.
Thanks,
Gary
PS: If you know of an easy to understand (online) tutorial on the subject of object oriented programming (for a BEGINNER) would be very much appreciated.
Gary M. Gordon, LLC
webmaster@garymgordon.com
Certified Web Developer ::
Application Programmer