FDM Group Interview Question

Give a line of code for Java