Difference between abstract class and interface, Computer Engineering

Abstract class: Abstract classes are the class where one or more methods are abstract but not essentially all method has to be abstract. Abstract methods are the methods, which are declare in its class but not described. The definition of those methods must be in its extending class.

Interface: Interfaces are one type of class where all the methods are abstract. That means all the methods only declared but not defined. All the methods must be described by its executed class.           

 

 

Posted Date: 4/9/2013 2:31:54 AM | Location : United States







Related Discussions:- Difference between abstract class and interface, Assignment Help, Ask Question on Difference between abstract class and interface, Get Answer, Expert's Help, Difference between abstract class and interface Discussions

Write discussion on Difference between abstract class and interface
Your posts are moderated
Related Questions
What are condition code flags? The processor keeps track of information about the results of several operations for use by subsequent conditional branch instructions. This is a

Q.Joint Application Development session leader? JAD session leader: JAD leader organizes and runs the JAD. This person is trained in group management and facilitation as well

Q. Define the Bandwidth of a monitor? Bandwidth is the amount of signal the monitor can handle and it is rated in MHz .This is the most usually quoted specification of a monito

This is an applied unit that shows you how to assess interactive products against a selection of usability and user experience goals. It also introduces a selection of design princ

What is Parallel Sections Construct? The parallel sections construct is a shortcut for specifying a parallel construct comprising one sections construct however no other statem

The Frame class extends Window to describe a main application window that can have a menu bar. A window can be modal.

What does formal verification mean? Formal verification uses Mathematical techniques by proving the design by assertions or properties. Correctness of the design can be achiev


Which algorithm is used to solve computational problems If we want to solve any problem then we use a series of well-defined steps. These steps are collectively known as algori