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

What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

1034


How many times may an objects finalize() method be invoked by the garbage collector?

1091


Why do threads block on i/o?

1262


Define aop(assepct oriented programing)?

1182


Difference between loadclass and class.forname?

1055


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

1097


What is synchronization and why is it important?

1122


Write a singleton program?

1053


What is the relationship between the canvas class and the graphics class?

1045


What are the call back methods in entity bean?

1072


Define prototype?

1063


What do you know about seam?

1058


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

2243


What are the different methods of identifying an object?

1080


How substring() method of string class create memory leaks?

1046