• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu

F&A Diskussionen

Cat c = new Cat (12); ....Meow(); how should the Meow method be called?
c#methods
-1 Stimme
5 Antworten
23rd Nov 2016, 9:35 PM
Margarit
Margarit - avatar
[SOLVED] I don't see follow button
buttonfollowhelpmeow
1 Stimme
4 Antworten
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 Stimmen
2 Antworten
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 Stimmen
6 Antworten
21st Aug 2016, 5:08 AM
Amandeep Singh
Amandeep Singh - avatar
Heute heiß
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
3 Votes
I am new
1 Votes
Python intermediate help with dictionaries
0 Votes
Changing String Variables into int in C++
0 Votes
Advertising in Sololearn
1 Votes
Fill in the blank to declare a static variable.
0 Votes
Marquee
1 Votes
RUST'S FUTURE
1 Votes
Any Advise?
1 Votes
Popsacles Aufgabe
1 Votes