Diff.b/w Frames and container?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use string functions in QTP?give some examples

7379


Tell me the jobs for the MCA Fresher in delhi, Noida..

2103


What is WEB 3.0? What are the features their in WEB3.0

1785


What are two of your strengths that you will bring to our QA/testing team?

1807


what is session state?

1682






what is d main diff between the java and .net framework

1706


how can i create report in abap to insert data in table pa0002 using insert command

1915


how can we implement locks in plsql?

1996


5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above

2328


Please describe an example where you used object orientation in one of your programs.

1653


what will we require to build project with the help of oracle

1566


write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe

1714


Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)

249


i want to insert textbox value to sql db. i have only one text box but store four values. ple give any one give sample code in asp.net c#..

3138


How to create a new dataset only duplicate observations in proc sort procedure?

1787