Java Server Faces (JSF) Programming
Test your knowledge of JavaServer Faces framework, Java programming concepts including interfaces, visibility modifiers, and operators
Questions
Question 1 Multiple Choice (Multiple Answers)
The & and | operators always evaluate
- Evalauate on the first operand
- Evaluate on both operands
- Does nt evaluate the right operand if the left operand is true
- to true if both operands are true
Question 2 Multiple Choice (Multiple Answers)
Code visibility revolves around whether code in one class can
- Create an instance of another class
- Extend( or subclass), another class
- Access methods and variables of another class
- All of the above
Question 3 Multiple Choice (Multiple Answers)
Interface constants are implicity of which type?
- public
- static
- final
- All of the above
- 1 & 3
- 2 & 3
Question 4 Multiple Choice (Single Answer)
In order to implement a custom UI component in JSF, what does the renderer class extend from?
- javax.faces.renderer.Renderer
- javax.faces.render.Renderer
- javax.faces.render.Render
- javax.faces.renderer.Render
Question 5 Multiple Choice (Single Answer)
In order to implement a custom UI component in JSF, what does the renderer class extend from?
- javax.faces.renderer.Renderer
- javax.faces.render.Renderer
- javax.faces.render.Render
- javax.faces.renderer.Render
Question 6 Multiple Choice (Single Answer)
One of the following is an existing implemented framework of JSF. Which one is that?
- MyFaces
- IceFaces
- ADF Faces
- Option 1 and 3
- Option 2 and 3
Question 7 Multiple Choice (Single Answer)
Which is the latest JSF version?
- 1.0
- 1.1
- 1.2
- 1.3
Question 8 Multiple Choice (Single Answer)
The following are true about JSF
- server side technology
- component oriented and event driven framework for GUI development
- follows MVC design pattern
- all of the above
Question 9 Multiple Choice (Single Answer)
An entry should be made in which file to register a JSF tag component class for writing a custom UI component
- web.xml
- *.tld
- faces-config.xml
- applicationcontext.xml
Question 10 Multiple Choice (Single Answer)
What are JSF Validators?
- The class that extends javax.faces.validator.Validator and validates the given input
- The class that implements javax.faces.validator.Validator and validates the given input
- The class that extends javax.faces.validate.Validator and validates the given input
- The class that implements javax.faces.validate.Validator and validates the given input