Publicis Sapient interview question

difference between Dot net and java