Header Ads Widget

Responsive Advertisement

Module 23: Sharing Objects and Code

Sharing Objects and Code


01. You are modifying a form that has four buttons on a canvas. Button2, Button3, and Button4 are all sub classed from Button1. You want to change the width of all the buttons, so you open the Property Palette for Button1 and change its width to 60. In the Layout Editor, you can see that all buttons have become smaller except for Button3. You open the Property Palette for Button3 (as shown in the exhibit).                                                                     

Why did the width for Button3 not change to 60?                                                                                                                                                                                               

A. Button3 was not properly subclassed.                                                                                                  

B. Width is a changed property in Button3.                                                                                               

C. Width is a variant property in Button3.                                                                                               

D. Width is a default property in Button3.                                                                                               

E. Width is an inherited property in Button3.  

Answer: C

02. Which is a method of reuse that is possible with a PL/SQL program unit, but not possible with a Forms trigger?                                                                                                                                                                 

A. Copy and paste text.                                                                                                                  

B. Create a library module.                                                                                                              

C. Move to an object library.                                                                                                            

D. Copy and paste within a module.                                                                                                       

E. Copy to or subclass from another module. 

Answer: B

03. There are two buttons on a form: Button1 and Button2. When you make a change in the appearance of Button1, you want the appearance of Button2 to change automatically. How can you implement this?                                                                                                                                                                                     

A. Define a Visual Attribute and apply it to both buttons.                                                                               

B. Set the Subclass Information property of Button2 to the name, block, and module of Button1.                                           
C. Select both buttons in the Object Navigator and set the shared properties in the Property Palette.                                   
D. In the Property Palette of Button1, select all the properties that you want to share with Button2 and click Copy Properties. In the Property's Palette of Button2, select Paste Properties.

Answer: B

4. Which statement about object group is true?                                                                                                                                                                                  

A. Object groups can contain other object groups.                                                                                        

B. You cannot drag a program unit to an object group.                                                                                    

C. Object groups contain copies of the original objects.                                                                                 

D. You can delete the original objects without affecting the object group.                                                               

E. You can delete the object group without affecting the original objects.                                                               

F. Dragging a block to an object group does not place its triggers in the object group.

Answer: E

Post a Comment

0 Comments