Teradata Interview Question

How to testing variables in Java?