Sign Up | Sign In
Ask Questions & Get Answers at ibibo sawaal

Give example of abstraction in C++?  

Asked in Computers & Technology at 3:47 PM on September 05, 2008

Tags: abstraction

Report abuse
bwd
bwd

Related Search

 

What is an abstract class?

well;Abstract class must be extended/subclassed to be useful. It serves as a template. A class that is abstract may not be instantiated ie, you may not call its constructor, abstract class may contain static data. Any class with an abstract method is automatically abstract itself, and must be declared as such.A class may be declared abstract even if it has no abstract methods. This prevents

Posted in Computers & Technology by rocky singh at 5:24 AM on June 22, 2008

what is a abstract method in java?pls exp with a example?....its a 10 mark question in my syllabus....so pls exp in such a way that i score 10/10 marks....pls

Hi SunilAn abstract method is a method which has no implementation, means an abstract method is deliberately missing its method body.An abstract method is a method that is declared without an implementation without braces, and followed by a semicolon, like this: abstract void moveTodouble deltaX, double deltaY;If a class includes abstract methods, the class itself must be declared abstract, as in

Posted in Computers & Technology by SUNIL . at 5:11 AM on September 29, 2008

Similar Questions

Left Ads
© 2006 - 2013 ibibo Web Pvt Ltd. All rights reserved.