JavaDeploy
SiteMap
Java Certification
Java Beans
Java-OO Concepts
Bean Internals
«Prev
Intro Javabeans
Javabeans Dev Kit
Installing Bean Kit
Dev Kit Components
Beanbox Test Container
Beanbox Design Time.
Beanbox Runtime
Bean Dev Kit Conclusion
JAR Files
Archive Jar Files
Javabeans Manifest File
Working with jar
Packaging jar Beans
testing-packaged-beans
jar Module Summary
Bean Internals
JavaBeans Structure
Bean Method Encapsulation
Bean Property State
JavaBean Types
Bean Accessor Methods
Getter Setter Methods
Defining Accessor Methods
Bean indexed Properties
indexed Property Accessor
bound Property Notification
Bound Properties Operation
BoundProperty Registration Methods
Javabeans Constrained Properties
Constrained Properties Functionality
Create JavaBean Properties
Using Javabean Properties
Javabean Structure Conclusion
JavaBeans Introspection
Peering Inside Javabean
Introspection Design Patterns
Design Pattern Types
Property Design Patterns
Simple Property Patterns
Indexed Property Patterns
Multicast Event Patterns
Unicast Event Design Patterns
Providing Javabean Information
Building Basic Javabean
Javabean Structure
Event Communication
JavaBeans internals - Quiz
Each question is worth one point. Select the best answer for each question.
1.
The data part of a Bean is important because it:
A.
Is directly accessible by programmers.
B.
Allows programmers access to the internal state of the Bean.
C.
Completely describes the state of the Bean.
2.
The most important type of methods for accessing Beans are:
A.
Public methods.
B.
Private methods.
C.
Static methods.
3.
An interface is a functionally related group of:
A.
Data.
B.
Beans.
C.
Publically defined methods.
4.
Indexed properties often include an additional pair of accessor methods because:
A.
There are so many elements.
B.
It is useful to be able to access either an individual element or the entire array of elements.
C.
It is strictly required that access be granted both to individual elements and the entire array of elements.
5.
Individual elements of an indexed property are accessed through an accessor method using:
A.
An integer index.
B.
The location of the previous element.
C.
The name of the element.
6.
Bound properties are considered bound because they:
A.
Have limits on their values.
B.
Can not be written to.
C.
Notify an outside party whenever their value changes.
7.
To reject the new value of a constrained property, a constrained property listener must:
A.
Set the property back to its previous value.
B.
Throw a PropertyVetoException exception.
C.
call the
vetoableChange()
method.
Your score is 0.0
Submit
Quiz Explanation