Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Define Abstract method & class with Example

Answer Posted / ramyathillainathan

We can indicate that a method must always be redefined in a sub class , thus making overriding compulsory. This is done using the modifier keyword abstract in the method definition.
example;
abstract class Shape
{
------------
------------
Abstract void draw();
------------
---------------
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'

2237


Iam using Microsoft Visual Studio to create a system for mobile store I want to know how to calculate mobile price that the customer buy and how to reduce quantity from the data base that we have for mobile .And also how to calculate revnue for each mobile and revnue for the total mobile

2077


which worker is involved in all the phases of SDLC?

2156


5. How do you round the addition or subtraction of two numbers in assembler?

2230


What are two of your strengths that you will bring to our QA/testing team?

2141


in a VB application, where the data will be stored after manipulation? what is the syntax for that?

2279


what does mean and stack mean in genral programming?

1909


What are events in smartforms?

2271


in IBM PC -AT.WAT AT REFERS TO?

1896


Tag for turning an image into a hyperlink is

2286


Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.

2485


in network security,how we identified threat?some one say we found threat according to it's signature,but how we get signature or pattern of the virus?

2068


how can i split string in a textbox in windows appication using C#.net

2739


what are all the ant command options

2073


how to check single or double byte in struts

1995