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

can a static method be overridden

Answer Posted / twinkle

no static methods cannot be overridden
but can be overloaded
for example in servlets,
Connection con=DriverManager.getConnection
(url,username,password);for all databases like oracle etc..
it can be overloaded as
Connection con=DriverManager.getConnection(url);//for MS
Access

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How task's priority is used in scheduling?

2244


How primary key is implemented in Oracle?

2384


Difference between swing and awt?

1180


Is the session factory thread safe?

1126


What if the static modifier is removed from the signature of the main method?

1186


What value does read() return when it has reached the end of a file?

986


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1111


How are commas used in the intialization and iteration parts of a for statement?

1054


Can I use multiple html form elements with the same name?

1002


Difference between new operator and class.forname().newinstance()?

1087


Why do I get a duplicate name error when loading a jar file?

1081


what are the advantages of JTA over JTS?

2151


which type of objects reference will be given to client?

2439


Can I use javascript to submit a form?

1101


What value does readline() return when it has reached the end of a file?

1038