web technology Online Quiz - 118
Description: web technology Online Quiz - 118 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: web technology |
Given: 3. public class Wind { 4. public static void main(String[] args) { 5. foreach: 6. for(int j=0; j<5; j++) { 7. for(int k=0; k< 3; k++) { 8. System.out.print(" " + j); 9. if(j==3 && k==1) break foreach; 10. if(j==0 || j==2) break; 11. } 12. } 13. } 14. } What is the result?
Given: 3. public class TestDays { 4. public enum Days { MON, TUE, WED }; 5. public static void main(String[] args) { 6. for(Days d : Days.values() ) 7. ; 8. Days [] d2 = Days.values(); 9. System.out.println(d2[2]); 10. } 11. } What is the result? (Choose all that apply.)
Given the proper import statement(s), and 13. PriorityQueue pq = new PriorityQueue(); 14. pq.add("2"); 15. pq.add("4"); 16. System.out.print(pq.peek() + " "); 17. pq.offer("1"); 18. pq.add("3"); 19. pq.remove("1"); 20. System.out.print(pq.poll() + " "); 21. if(pq.remove("2")) System.out.print(pq.poll() + " "); 22. System.out.println(pq.poll() + " " + pq.peek()); What is the result?
What is output to the web page on the second access to the same instance of the following JSP? (Choose one.) Chapter 6 Question 2
Chapter 6 Question 2
In the UML notation a class can be represented by
In the UML notation, an object can be represented by
The file where the context root of the application is specified
In the UML notation, inside each class in a class diagram are printed
Key elements of the use-case diagram are:
Aggregation (encapsulation) relationships are represented in the UML notation by
In which file will the servlets and the security roles of the application will be defined
Where does the application been first taken in to, when an URL is hit in the browser
In the UML notation, parameterized (generic) classes are represented by