Sign In
Ask Question
Junior
Computers & Technology
27 October, 15:16
Define inheritance. give an example
+2
Answers (
1
)
Keyon Coleman
27 October, 15:25
0
A class can be defined using another class as a foundation. In object-oriented programming terminology, one class can inherit fi elds and methods from another. An object that inherits from another is called a subclass, and the object it inherits from is called a superclass. A subclass extends the superclass.
Comment
Complaint
Link
Know the Answer?
Answer
Not Sure About the Answer?
Find an answer to your question 👍
“Define inheritance. give an example ...”
in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers
You Might be Interested in
printLarger is a method that accepts two int arguments and returns no value. Two int variables, sales1 and sales2, have already been declared and initialized. Write a statement that calls printLarger, passing it sales1 and sales2.
Answers (1)
The method used to add panels to a JTabbedPane is newTab. newPanel. addPanel. addTab.
Answers (1)
How many bits must be flipped (i. e. changed from 0 to 1 or from 1 to 0) in order to capitalize a lowercase 'a' that's represented in ascii?
Answers (1)
Under the class system, how many host ids were available in a class b network?
Answers (1)
At a minimum, you should always have these two versions of a résumé saved: a. Print and Web b. Web and Electronic c. Scannable and Print d. Electronic and Scannable
Answers (1)
New Questions in Computers & Technology
Your unit has an upcoming training event. What form is used to record and maintain document numbers for ammunition documents?
Answers (1)
If you refuse to take a blood, urine, or breath test to determine if you are driving under the influence of alcohol or drugs, you will automatically be assigned to 50 hours of community service 1 be required to pay a $500 fine have your driving
Answers (1)
If you have a list consisting of just numbers, then you can add all of the values in the list using the sum () function. If your list consists of some numbers and some values of other types (e. g.
Answers (1)
Which teamwork characteristic motivates your team members to perform better?
Answers (1)
Does anyone know how to hack progressbook
Answers (1)
Home
»
Computers & Technology
» Define inheritance. give an example
Sign In
Sign Up
Forgot Password?