Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI

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
Code coach popsicles challenge
0 Votes
Sarang
2 Votes
Buggy app today
1 Votes
How many program that you've made even a smaal project are good?
0 Votes
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
Programming
0 Votes
Code coach isn't awarding xp
0 Votes
Temperature converter( celsius to fahrenheit)
0 Votes
Alguien me podría explicar sobre para que sirve cada tipo de lenguaje de programación?
0 Votes