HCLTech interview question

How to print in java ?