I heard about the shared hosting from some where. Some one told to me that it will help to increase our page rank in the google.
How is it stupid? You certainly didn't hear that from Google. There were rumors that Google was planning on competing with Yahoo and Godaddy in the shared hosting business. These were proven false though.
Dude i already knew that...Google cant get into the hosting field its unethical for them to do so, they run the nets biggest and most trusted search engine + rank system. Whatever happens google cant get into hosting web sites as a business.
http://www.searchenginejournal.com/?p=3804 & http://news.netcraft.com/archives/2006/02/23/google_launches_free_hosting_service.html
Google can't do something because it would be unethical?? Aren't you the trusting one. Gevil.org -Michael
Google does not offer Web hosting of any kind, in the traditional sense - and has no plans to. As for shared hosting helping your ranking - that's bogus info. Whoever told you that is not a true, expert SEO - in fact, having your own (untainted) IP (which could be done on shared) is much better.
optimizing your site for serp and finding backlinks for your site will help you to get better results . hosting on google or anywhere is not related with serp or pr