Teradata interview question

How to testing variables in Java?