```
public class teste {

public static void main(String[] args) {
    int t1=5;
    int t2=10;
    int t3=30;

    for(int i=1;i<4;i++)
    {
        System.out.println("t"+i);
    }

}}

```

Hi guys I don't know if it exists in java but I wanna print t1 t2 t3 by a loop, for example for i=1 t(i=1) => t1 so it will give us 5, how can I do that, and thank you all.