Saturday, September 26, 2015

CIT 230 Java

CIT 230 ADVANCED JAVA

The CIT 230 ADVANCED JAVA course is the most advanced Java programming course a student can take. There is also Android programming classes that Java programmers can take, but the only prerequisite course for that is Beginning Java.

Here's a practice exam for CIT 230 ADVANCED JAVA.

Question 1. Is this legal? String s[] = new s[5];
Answer: _____
Question 2. Is this legal? int[][] i = new int[];
Answer: _____
Question 3. Is this legal? int[][] i = new int[][];
Answer: _____
Question 4. Is this legal? java.util.Date[] date[] = new java.util.Date[2][];
Answer: _____
Question 5. Is this legal? char[] c = new char[5]; int i = c.length();
Answer: _____
Question 6. Will this code compile? ArrayList al = new ArrayList(); al.append(10);
Answer: _____
Question 7. Will this code run? ArrayList al = new ArrayList(); al.add(10);
Answer: _____
Question 8. Are two arrays with same contents equal?
Answer: _____
Question 9. Will this code compile? Arraylist al = new arraylist(); al.remove(0);
Answer: _____
Question 10. Will this code run? ArrayList al = new ArrayList(); al.remove(0);
Answer: _____

Advanced forward.

John Sindayen

No comments:

Post a Comment