• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu

Dyskusje Q&A

Cat c = new Cat (12); ....Meow(); how should the Meow method be called?
c#methods
-1 Głos
5 odpowiedzi
23rd Nov 2016, 9:35 PM
Margarit
Margarit - avatar
[SOLVED] I don't see follow button
buttonfollowhelpmeow
1 Głos
4 odpowiedzi
28th Jan 2021, 4:34 PM
MNMNMN
i dont get the code on the end what should make the pet giving both Meow and Woof especially for (int i=0; i<2; i++) {
polymorphism
0 głosów
2 odpowiedzi
14th Jan 2019, 9:59 PM
Nuh Cetin
Nuh Cetin - avatar
classe animal has makesound function i.e grr..... nd classes cat and dog also have makesound function i.e meow nd woof respectively... due to inheritance classes cat and dog also have makesound function of animal class ie grr.... now my q is how compiler will know which function to execute is nt ds ambiguous??... two choices r dere.... 1 make sound function of animal class ie grr 2 make sound function of own like woof or meow.... any help would be really helpful....
javapolymorphism
0 głosów
6 odpowiedzi
21st Aug 2016, 5:08 AM
Amandeep Singh
Amandeep Singh - avatar
Popularne dzisiaj
Hi help me I am new
2 Votes
My codebits section is full of deleted codes
12 Votes
Why are there like 10 community-made lessons?
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Why so many mathematical questions in challenges?
0 Votes
Where did mess up....
1 Votes
Where can I learn c#
0 Votes
I have an error in a problem and I don't know what the correct answer is
0 Votes
best language if i want to learn about AI
0 Votes
Question
0 Votes