q1 is an array of String. You can access individual object of an array by using those brackets: []
For example if you write this:
String[] myStrings = {"aaa","bbb","ccc"}
you are creating an array of String called myStrings that has 3 elements in it.
myStrings[0] will give you "aaa" myStrings[1] will give you "bbb" myStrings[2] will give you "ccc"
To answer your question better, the point variable has nothing to do with the place were you put it.
In my example, I used the variable qNb that was keeping track of the question that was displayed.
qNb = 1 when the first question needs to be displayed and so on.
sorry, you need to show your running example code
and not forget to format it correctly with
[ctrl][t] in processing IDE
and here in post editor use the
</> code tag
and that shows you
```
type or paste code here
```
where you have to put your code inside!
also more text needed,
as i not think you will be able to make “radio button” without the use of a library,
and so you have to check the examples for that library about that type of buttons usage.