0
why we need the () in the last line B().method..... ? so confusing
31st Aug 2016, 11:15 AM
Ryu

2 Answers
+ 1
call function
31st Aug 2016, 4:43 PM
beauty1234
0
is like:
b = B() #the class has no arguments
b.method()
1st Sep 2016, 4:50 PM
Reynaldo Esparza Garcia

Often have questions like this?
Learn more efficiently, for free:
Hot today
NEO V2.0
1 Votes
Sololearn course
1 Votes
Best language?
0 Votes