Briefly describe the similarities and differences between abstract classes and interfaces.
What will be an ideal response?
Abstract classes and interfaces are similar in that you cannot instantiate concrete objects from either one. Abstract classes differ from interfaces in that abstract classes can contain nonabstract methods, but all methods within an interface must be abstract. A class can inherit from only one base class (whether abstract or not), but it can implement any number of interfaces.
Computer Science & Information Technology
You might also like to view...
According to Excel's order of operations, addition and subtraction are done before exponentiation
Indicate whether the statement is true or false
Computer Science & Information Technology
Any interruption of normal network traffic that reduces or halts the flow of data on a network is called a(n) _________________________.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology