programming languages Online Quiz - 117
Description: programming languages Online Quiz - 117 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Given: 11. int i = 1,j = 10; 12. do { 13. if(i>j) { 14. break; 15. } 16. j--; 17. } while (++i <5); 18. System.out.println(“i =” +i+” and j = “+j); What is the result?
You want a class to have access to members of another class in the same package. Which is the most restrictive access that accomplishes this objective?
Given: 11. int x = 3; 12. int y = 1; 13. if (x = y) { 14. System.out.println(“x = “ + x); 15. } What is the result?
- package test1; 2. public class Test1 { 3. static int x = 42; 4. } 1. package test2; 2. public class Test2 extends test1.Test1 { 3. public static void main(String[] args) { 4. System.out.println(“x = “ + x); 5. } 6. } What is the result?
Given: 1. public class Delta { 2. static boolean foo(char c) { 3. System.out.print(c); 4. return true; 5. } 6. public static void main( String[] argv ) { 7. int i =0; 8. for ( foo(‘A’); foo(‘B’)&&(i<2); foo(‘C’)){ 9. i++ ; 10. foo(‘D’); 12. } 13. } 14. } What is the result?
what are the various types of Reporting
core class of the Struts Framework
What are the drawbacks of Struts?
A controller is the link between a user and the system.
Expansion of MVC architecture
Struts framework is based on ---- architeture
MVC1 architecture is
The model component includes
The View part of MVC includes
The controller part includes
In MVC2 flow is controlled by single servlet
Advantages of MVC
What are Cookies
Method by which sensitive data is sent?
How do I send email from my Servlet?