If you believe no example exists in the given code

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: T WRITE BELOW Q1 Q2 Q3 Q4 Q5 TOTAL 10 10 10 10 10 100 1 [ CSE116 – MIDTERM EXAM, VERSION 2] SPRING 2010 Question 1 [10 marks] In the code on the right, clearly circle and identify by number one (and only one) example of each of the items in the list on the left. If you believe no example exists in the given code, write “no example” next to that item. 1. an if statement 2. a boolean expression 3. a constructor header 4. an argument of method call 5. an accessor method 6. the name of a subclass 7. an overloaded name 8. a method call 9. an instance variable declaration 10. an assignment statement package edu.buffalo.cse.green.editor.model.commands; import edu.buffalo.cse.green.editor.model.TypeModel; import edu.buffalo.cse.green.editor.model.RootModel; import org.eclipse.gef.commands.Command; /** * Removes a <code>TypeModel</code> from the editor * without deleting it. * @author bcmartin 6 */ public cla...
View Full Document

Ask a homework question - tutors are online