Details of this Paper

cis355a

Description

solution


Question

1. (TCO 4) How many iterations will the following for loop have?;for (int counter = 1, counter <= 10, counter++);counter = 11, (Points: 3) 1;10;11;0;Question 2. 2. (TCO 4) The parameters of a for statement are separated by a _____. (Points: 3) colon;comma;period;semicolon;Question 3. 3. (TCO 4) The practice of defining more than one method with the same name is called _____. (Points: 3) method overriding;method overloading;method definition;method instantiation;Question 4. 4. (TCO 4) Which of the following statements is valid? (Points: 3) int i = new int(30);double d[] = new double[30];int i[] = (3, 4, 3, 2);char[] c = new char();Question 5. 5. (TCO 4) All of the following are assignment operators except _____. (Points: 3) +=;==;-=;%=;Question 6. 6. (TCO 8) The best way and first step before you start debugging a program is to _____. (Points: 3) step through the code;set breakpoints in the code;step into the code;set print statements;Question 7. 7. (TCO 8) All of the following are containers except the _____. (Points: 3) Frame;Panel;TextArea;Window;Question 8. 8. (TCO 8) To retrieve the number of items in a Choice menu, use the _____ method. (Points: 3) getCount();getItemCount();length;length();Question 9. 9. (TCO 8) The method that governs the action taken when a user clicks the Close button in an application is called the _____ method. (Points: 3) Close();closeWindow();windowClose();windowClosing();Question 10. 10. (TCO 8) The immediate superclass of a TextArea component is _____. (Points: 3) TextContainer;Text;TextComponent;TextField

 

Paper#71334 | Written in 18-Jul-2015

Price : $22
SiteLock