Pergunta de entrevista da empresa OpenText

How would you increment a variable in Java?