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...

Difference between overloading and Overriding. <Giving a
confusing example to test the concept.>
(also asked in PA Consultancy Group,iflex,Value
chain,IBM,CTS,Accenture, Tarang>

Answer Posted / varun

overloading : can only be done by changing the type or no.
of parameters for eg:a(int a);
a(int a,int b);


while in case of overriding we can give new definition
without changing the parameters.

Is This Answer Correct ?    20 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pillars of java?

918


What is a cup of java?

1010


What is the reflection?

997


What is the epoch date?

1021


What is the difference between @before and @beforeclass annotation?

1101


How do I start learning java?

1060


What are different data types?

1020


What is a boolean flag in java?

1023


Can private class be extended java?

1017


Which are different kinds of source code?

1103


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

2091


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

1036


What are the types of web technologies?

1042


What is anonymous inner class?

1077


Why is singleton class used?

1030