0

I don't know when i should use a class name as data typy on a method or method parameter

17th Jul 2018, 5:31 PM
Mohammed Alimam
Mohammed Alimam - avatar
2 Answers
0
A class name just represents a type, so do you have a return type that you are expecting out of the function? Or are you passing a parameter in?
17th Jul 2018, 5:49 PM
Dan Walker
Dan Walker - avatar
0
the return type it's a class type
17th Jul 2018, 8:01 PM
Mohammed Alimam
Mohammed Alimam - avatar