Tutorial 7 ? Stacks and Queues 1. Java API Stack and Queue

Which of the following is the correct syntax to declare variable in Java. a) <type - name> {variable - names}; b) {type - name} <variable - names>;.

Part of the document

Which of the following is the correct syntax to declare variable in Java. a) <type - name> {variable - names}; b) {type - name} <variable - names>;.