similar to 166
Three different cases :
Foo f1 = new Foo();
f1.foo(li) prints Bonjour le monde
Foo f2 = new Bar();
f2.foo(li) prints Hello world
Foo.collection(Collection arg) -> Bar.collection(Collection arg) because of polymorphism
Bar b1 = new Bar();
b1.foo(li) prints Hello Mundo!
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ASPushkin
6 months, 1 week agod7bb0b2
1 year agoStavok
1 year, 6 months agotmuralimanohar
1 year, 7 months agoMukes877
1 year, 8 months agoMukes877
1 year, 8 months agoObalt
2 years ago