- 2

Can any one tell me when to use interface and struct?

29th Jul 2016, 1:39 PM
Sifuku Bulelani
Sifuku Bulelani - avatar
1 Answer
+ 1
interface is used when you have to implements methods in you class. struct is for simple data
27th Aug 2016, 1:53 AM
Edison da Silva da Silva
Edison da Silva da Silva - avatar