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 is the use of d-flipflop in associative memory

Advantages of Encapsulation You can also delay the resolution of the details until after the design.  You can keep your code modular.

What is the system call available to change the personality? The system call personality prefers to a method to modify its implementation domain in order that Linux can emulate

How is a Microsoft CRM Workflow tool enabled? A Microsoft CRM Workflow tool enables certainly one to as given below: • Explain business policies based upon established proce

Q. Terminates a particular PVM process? int pvm_kill( int tid ) Terminates a particular PVM process. tid Integer task identifier of PVM process to be killed (not itself).

program to find area under the curve y=f(x) between x=a and y=b , integrate y=f(x)between limits of a and b

What is imprecise and precise exception? Situation in which one or more of the succeeding instructions have been implemented to completion is known as imprecise exception. Situ

Q. What is Presentation layer? Presentation layer: When two hosts are communicating with each other they might use different coding standards and character sets for represent

Detail explanation of Cryptographic modules Physical security of the cryptographic modules is also built in order to provide total security of the whole system and protect from

#what is the history of computer science