• Corsi
  • Compilatore di codice
  • Discuti
  • Prezzi
  • Squadre
Menu

Discussioni Q&A

Cat c = new Cat (12); ....Meow(); how should the Meow method be called?
c#methods
-1 Voto
5 Risposte
23rd Nov 2016, 9:35 PM
Margarit
Margarit - avatar
[SOLVED] I don't see follow button
buttonfollowhelpmeow
1 Voto
4 Risposte
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 Voti
2 Risposte
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 Voti
6 Risposte
21st Aug 2016, 5:08 AM
Amandeep Singh
Amandeep Singh - avatar
Popolare oggi
Python stressed me out
1 Votes
How often can you become a fully stuck developer?
1 Votes
Improve accessibility of this page
0 Votes
Course Doubt
1 Votes
[ReSolved] I paid for the subscription but didn't receive it.
0 Votes
Data analysis
0 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
1 Votes
How do i make a lexer and parser
1 Votes
Help
0 Votes
Saved code
0 Votes