Cognizant interview question

how to pass parameters in testng?