CPSC 425 Spring 2004
Go to the online Java Language Specification at
and use this document to answer the following questions.
Answer each with an English explanation, but
refer to the grammar productions that support your answers.
- Webber 2.1(h),(j),(k)
- Webber 3.1
- Webber 3.3(b),(c),(d)
- Webber 3.4(b), (c)
- What is the structure of a Java identifier?
- How does Java deal with the "dangling else" problem?
- Which of the following statements is legal in Java?
- Which has higher precedence, && or ||?