Question: In Java, it is possible to declare multiple variables in a single statement. For example, int sum1, sum2; declares sum1 and sum2 to both be
In Java, it is possible to declare multiple variables in a single statement. For example, int sum1, sum2; declares sum1 and sum2 to both be of type int. Does Oberon-2 also provide this feature? That is, is it possible to declare more than one variable in a single statement? If so, what would the declaration look like? If not, why not?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
