Quantcast
answersLogoWhite
notificationBell

Top Answer
User Avatar
Wiki User
Answered 2012-08-30 22:03:52

An abstract method is one that is declared, but not implemented. That is, you have an empty method, without the details (the commands in the method). It is meant to be completed in a derived class.

001
๐Ÿ™๐Ÿฟ
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Your Answer

Still Have Questions?

Related Questions

What is the difference between abstract class and normal class?

Any class which has one or more abstract methods is called an abstract class. But in the normal class we can't have any abstract methods. We cannot create an object for the abstract classes. When we inherit the abstract class we should implement the abstract method which we inherit.


Why you are not allowed to put an abstract method into a normal class?

You can't put an abstract method (pure-virtual method) in a normal class because the normal class would become abstract itself. Only non-abstract classes can be physically instantiated as objects, and only if they fully implement all the abstract methods inherited from their base classes.


Difference between abstract class and interface?

An abstract class can have a combination of abstract methods and normal methods. Interfaces cannot implement any methods themselves, all have to be abstract. Other classes can extend only one class (abstract or not), but can implement as many interfaces as they want.


What are the differences between class and abstract class?

Normal variables or static variables are declared and use in class but abstract class had only static variables. You have declare and define the methods in class. But abstract class only allow for method declaration only. The abstract class like interface.


How do you declare class as an abstract?

//We Declare an abstract class as-abstract class Car{}//Example of an abstract methodabstract void hondaCity(); //no method body and abstract//Example of Abstract class that has an abstract methodabstract class Car{abstract void run();}class HondaCity extends Car{void run(){System.out.println("runs smartly");}public static void main(String args[]){Car obj = new HondaCity();obj.run();}}//OUTPUT will be-runs smartly


What is abstract and interface?

abstract is keyword this is used for define abstract methods and abstract classes.abstract method means if you want define a method with out any body at that time you should define a method with abstract keyword. EX:public abstract int add() { } if you want define a class with abstract method must and should you define a class will be abstract class. Abstract EX:abstract class abc { abstract methods ------------ non abstract methods ---------------- } you can define abstract as well as non abstract methods in abstract class. in normal class you can define only normal methods only. you can't acess the methods which are in the abstract class from the same clss.by child class only you can acess the methods which are in abstract class. if you want to inherit abstract class must and should you have to define abstract methods which are in abstract class. Interface ----------:- interface is also like a clss.in interface you have to define only abstract methods only.you can't define normal methods in interface. EX: interface abc { abstract methods } by inharitance only you can acess the methods what are in the interface through the class.


Explain the difference between market price and normal price?

difference between market price and normal price


What is the difference between a micro pet and a normal pet?

the difference between a micro pet and a normal pet is that a micro pet is a really small animal such as a micro pig and a normal animal is a animal just like a normal person normal size normal wight and that is the difference between a normal animal and a micro animal.


What is the difference between member function and normal function?

What is the difference between malloc() and calloc()?


What is the difference between normal saline solution and ringer's lactate solution?

What is the difference between normal saline solution and ringer's lactate solution?


What is the difference between a normal and a participating preference share?

what is defference between normal and preference shares


What is the difference between a currency note and normal paper?

The difference between currency notes and normal paper is simple. Currency notes were used when normal paper money was not available.


What is the difference between Gamma distribution and Central limit theorem?

There is abig difference between them..gamma is a distribution but central limit theorm is just like a method or technique u use to approximate gamma to another distriution which is normal....stupid


What is the difference between normal and average respiratory rate?

The difference between normal and average respiratory rate is simple. Normal is healthy and cannot change and average most certainly can change.


What is the difference between a normal guitar and a junior guitar?

The difference between a normal guitar and a junior guitar is primarily its size. A Junior guitar is shorter and about three quarters the size of a normal guitar.


What is the Difference between normal relief and high relief coin?

what is differenc between high relief and normal relief


What is the difference between currency paper and a normal paper?

the main difference between currency paper and normal paper is that the currency paper is made up of cotton fibres and the normal paper is obtainde from trees


What is the difference between Triton and moon?

The difference between Triton and the moon is Triton is Neptunes moon and our moon is normal!


What is the difference between Linux and a normal operating system?

There is no such thing as a "normal" operating system.



What is the difference between JAVA and applet?

In normal java programs main method is included and executed in Command prompt. In Applets main method is not present and executed in browser Applet programs provide more user friendly environment too.



What is the difference between electrolytic capacitors and normal capacitors?

because normal capacitors does not have any polaririties.


What is the difference between normal and demonic spirit?

It depends what you mean by "normal". If it is not the Holy Spirit then there is none.


Difference between direct sequential file and index sequential file?

Explain the difference between sequential and direct file access.A. Sequential access to data is used when the data has to be read from the start, in sequence. It is the normal method of access for magnetic tape. Direct access is used when it is possible to jump directly to a file or data item without reading through all the items stored before it. This is the normal method used for hard disks.


Still have questions?

Trending Questions
Best foods for weight loss? Asked By Wiki User
How to lose belly fat? Asked By Wiki User
Unanswered Questions
Saan nagmula ang gitara? Asked By Wiki User
Uri ng tekstong nareysyon? Asked By Wiki User
Can you get Takis at 7 eleven? Asked By Wiki User