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

what is the purpose of method overriding in java where v r
completely re-defining a inherited method instead y can't v
create a new method and define.If the question is very silly
plz excuse me and do reply.Thank U!

Answer Posted / sadikhasan palsaniya

we can change default behavior of super class method by
overriding that method into the subclass.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why chararray() is preferred over string to store the password?

1066


Write a program to check string is palindrome without using loop?

1090


What is return type in java?

1123


Is java se open source?

1081


What are alternatives to java serialization?

1185


Explain about field hiding in java?

997


When should I use stringbuffer?

1056


Explain a situation where finally block will not be executed?

1091


Why webdriver is an interface?

1091


Can we write class inside a class in java?

1029


How do you avoid global variables?

1142


What is the difference between serializable and externalizable interface?

1164


Is string is a class in java?

1019


What are different types of inner classes ?

1100


What exactly is a .class file?

1095