Diff.b/w Frames and container?



Diff.b/w Frames and container?..

Answer / swe

A frame is a data-structure for representing a stereotyped situation, like being in a certain kind of living room, or going to a child's birthday party. Attached to each frame are several kinds of information. Some of this information is about how to use the frame. Some is about what one can expect to happen next. Some is about what to do if these expectations are not confirmed.
We can think of a frame as a network of nodes and relations. The "top levels" of a frame are fixed, and represent things that are always true about the supposed situation. The lower levels have many terminals–"slots" that must be filled by specific instances or data.

A Container is an object that stores other objects (its elements), and that has methods for accessing its elements. In particular, every type that is a model of Container has an associated iterator type that can be used to iterate through the Container's elements.
There is no guarantee that the elements of a Container are stored in any definite order; the order might, in fact, be different upon each iteration through the Container. Nor is there a guarantee that more than one iterator into a Container may be active at any one time. (Specific types of Containers, such as Forward Container, do provide such guarantees.)

A Container "owns" its elements: the lifetime of an element stored in a container cannot exceed that of the Container itself.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

how to avoid java script validation in client side validation?

2 Answers  


5.Call by value and Call by reference with program?

0 Answers  


what is the pl/sql block size in oracle 10g and 11g?

0 Answers  


please any one pass file aid,xpeditor and endeavor tools

0 Answers  


hoe to data grid use in sql server 2000?

0 Answers   HCL,






can u help me? how do solve the transpose problem in ireport? if any one know send to eswaran_2006@yahoo.co.in

0 Answers  


What is the difference between procedure -oriented language and object oriented language?

22 Answers   IBM, Infosys, TCS,


what is the BAM? where we can use it in BizTalk server?

0 Answers  


Write a program to find whether a given number is prime or not.

0 Answers   Syntel, Visa,


Find out the list of authorization objects which contains activity as a field? Thanks in advance.

0 Answers  


through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?

0 Answers   Motorola,


Why we use NEW operator when we create Object,While in C++ we donot ?

1 Answers  


Categories