Tag: architecture

Questions Related to architecture

Which of the following method names follow the JavaBeans standard ?

  1. addSize

  2. getCust

  3. deleteRep

  4. putDimensions


Correct Option: B

Which will legally declare, construct, and initialize an array?

  1. int [] myList = {"1", "2", "3"};

  2. int [] myList = (5, 8, 2);

  3. int myList [] [] = {4,9,7,0};

  4. int myList [] = {4, 3, 7};


Correct Option: D
  1. Embedding of Java code in HTML pages

  2. Platform independence

  3. Creation of database-driven Web applications

  4. Server-side programming capabilities


Correct Option: A
  1. jspInit(), _jspService() & jspDestroy()

  2. init(), service(), destroy()

  3. doPost()

  4. none of the above


Correct Option: A
  1. View

  2. Model

  3. Controller

  4. None


Correct Option: A

What do you understand by JSP translation?

  1. Parsing JSP using an XML Parser.

  2. Converting JSP into static Html content.

  3. Generating Servlet Code for the Jsp

  4. None


Correct Option: C
  1. Applets

  2. Web Browsers

  3. Wireless clients.

  4. All the above


Correct Option: D

Can we have pure java code inside JSP

  1. True

  2. False


Correct Option: A