answersLogoWhite

0


Best Answer

Overriding a method means that you are replacing an existing or virtual method that has already been defined in the parent object class, so without using inheritance, there can be no existing method to override.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why can't method override be used without inheritance?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you override fire code for Sims 2 castaway?

you cant


How do you kiss Davy in Pippa Funnell the stud farm inheritance?

you cant.


How do you download inheritance cycle 4 for free?

you cat no matter what you just cant!


Why cant you load your saved data on assassins creed brotherhood?

because you have to use the override in the beginning of the game


You bought a sidekick3 off of eBay it is used and you want to register but there is already all that info in there how can you override that?

you cant i was on it for months


Why you cant print the variable without method?

becauge when we want a value store in then we use a variable and in which wecan store a value then this value use a hol the proram and we solved a problem but every funcation depand on a method.


Can you get pregnant if no sperm goes in?

No you cant cant fertilize the ovum without sperm. However there is a method that is popularly used to avoid pregnancy, and that is to withdraw the penis when the feeling of orgasm comes on. The man quicly withraws his penis and finishes his orgasm by continuing to masturbate outside the vagina. This method is unreliable because a man can without realizing it release some sperm even before he orgasms.


Usally congress cannot override a veto because?

Because congress cant override a veto when it isnt in session


What is meant by interface in java?

interface is just like a class. its contains abstract methods without any implementation and we cant create object for the class. we can only sub classed . used to achieved multiple inheritance in java.


Why cant patterns of inheritance in humans be as easily studied as in peas or flies?

Humans produce few offspring slowly


How can you save tadpoles without water?

you cant you cant


How do you solve a linear equation using the symbolic method?

you cant