I have always thought that instance is rather more specific than object. I say, as you did, and instance of class Foo, but I also say plain simple object without sayin which type it is an instance of.
Junilu Lacar wrote:. . . Instance and object are the same thing. . . .
Answer to question 2:
joebloggs Bloggs wrote:. . .
2. Which is a function?
. . .
// This is a method - aka function?
. . .
Campbell Ritchie wrote:The sayHello() method you showed in your code block isn't a function because it neither takes any input nor returns any result. Printing something on the screen doesn't count as a result
Liutauras Vilda wrote:Jj Roberts, welcome to the Ranch! What a great first post!