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

Give examples of macro quoting function?

1955


HOW TO FIND NUMBER OF TWOS IN N!(N FACTORIAL)??

2233


can we extend a class having only one parameterised constructor.Suggest the process to do it.

2478


How can we develop a multi-tier application in Java?

1861


i am exeprienced person what is selection process

1589


Which CRM is better to opt, Sebiel CRM or Salesforce CRM or sap CRM? which institute is best one in hyderabad

2264


what is best way to create a Thread class & why?

2121


How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?

4245


THERE ARE 4 SOURCE FILES WHICH CONTAINS SAME METADATA CREATE A TARGET THAT SHOULD DISPLAY THE FILE NAME ALONG WITH THE RECORD PLEASE SEND THE ANSWERFOR THIS QUESTION WITH MAPPING

2087


What is the merger sort principle and its time complexity.

1083


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

7859


Do not use more than 3 nested IF. Use Evaluate statement in case of more IF required. Please give a detail explantion besides readability and clarity for Evaluate stmt.

1933


what are the advantages of sap on other software ?

2130


what is the use of occurs 10 or (any number) in the internal table declaration with header line.

1887


how can we implement locks in plsql?

2271