Cognizant interview question

Why functional programming is important in java