Tinu Kumar wrote:I know c and begginner of c++..please tell me what should i learn java or .net and why?..and how many months would it take to learn..and suggest me the books and best way to learn
You need to be well versed with Object oriented concepts in general. For learning Java- You can refer Head First Java, really useful for beginners in Java.
I would recommend learning Java- You have lot of web frameworks(open source) built around Java, lot of job opportunities, lot of development activities going on. There are lot of other advantages which I cant recall. Also am not following the .Net development activities going on, so cant provide a biased free feedback. And as I develop using Java so my view is biased towards Java. Some one more experienced will be able to provide better inputs in this case