alarm
Ask a question for free
Computer Science
Gor

BRAINLIST GUARANTEEDQ1.In What situation does a function return a value?Q2.State two features of a constructor.​

answers: 1
Register to add an answer
Answer:

1)A return is a value that a function returns to the calling script or function when it completes its task. A return value can be any one of the four variable types: handle, integer, object, or string. The type of value your function returns depends largely on the task it performs.

2) Constructors are called automatically when the objects are created. Constructors should be declared in the public section to be availabile to all the functions. Constructors do not have return type , not even void and therefore they can not return value.

126
pants
For answers need to register.
Contacts
mail@expertinstudy.com
Feedback
Expert in study
About us
For new users
For new experts
Terms and Conditions