
ISM 3230 Exam 2 with Answers (Florida Atlantic University)
- What is printed to the console?
- A super class can access variables in sub classes.
- What is the value of "x" after the following code executes?
- What value is stored in "x".
- What value will be returned by sum( 1, 2, 3, 4, 5, 6, 7 );
- What is the best data type to store Gender?
- Does the following class have a default constructor?
- What is the content of "k" after the following code executes?
- House is a sub class of Building so true or false the following code will compile?
- What is the value of "hello" after the following code runs?
- What is the signature of the following method?
- Which operator appends or adds?
- What is the value of "k" after the code executes?
- What is wrong with this code:
- What is the value of "k" after the code executes?
- A super class and a sub class are related which of the following is not true.
- Will the following code produce an exception?
- What is printed to the console?
- If an array is passed to a method and the method modifies an element in the array the modified value is avialable to caller.
- Which method would be executed by the following code?
- Which best explains why the following code is incorrect?
- When an exception is thrown your program may stop executing if the following is not done?
- Which of the following is not the purpose of an abstract class?
- Instead of using set and get methods it is more correct to mark variables as public
- Mouse is a sub class of Mammal so the following is true.
- The following algorithym may throw an exception. Based on our class discussion which exception should be handled?
- Will the following code produce an exception?
- A sub class can access variables in super classes.
- A double is a sub class of Object.
- What is the best way to represent gender?
- Based on the program defined page 317 - 326. Is the following correct?
- Based on the program defined page 317 - 326. Is the following correct?
- Which can hold the largest number?
- What is the value of "k" after the code executes?
- The only time a set method should be used is when validity checking is required.
- What is the content of "k" after the following code executes?
- What is the value of "k" after the code executes?
- The java compiler will automatically create set and get methods if they are not specified.
- Based on the program defined page 317 - 326. Is the following correct?
- Will the following code produce an exception?
- Based on the program defined page 317 - 326. Is the following correct?
- Is the following class correctly defined?
- What is the signature of the following method?
- Based on the program defined page 317 - 326. Is the following correct?
- Will the following code throw an exception?
- A super class can override a sub classes methods.
- A sub class can override a super classes methods.
- House is a sub class of Building so the following is true
- Which of the following is valid code when defining an exception?
- Modulus is most related to what?