Tuple is a fixed-size collection that can have elements of either same or different data types. Similar to arrays, a user must have to specify the size of a tuple at the time of declaration. Tuples are allowed to hold up from 1 to 8 elements and if there are more than 8 elements, then the 8th element can be defined as another tuple. Tuples can be specified as parameter or return type of a method.
Wednesday, 4 April 2012
What are tuples?
Tuple is a fixed-size collection that can have elements of either same or different data types. Similar to arrays, a user must have to specify the size of a tuple at the time of declaration. Tuples are allowed to hold up from 1 to 8 elements and if there are more than 8 elements, then the 8th element can be defined as another tuple. Tuples can be specified as parameter or return type of a method.
Subscribe to:
Post Comments (Atom)
IE7 Issues Text Indent
Unfortunately IE 7 is still widespread among the users hence while theming we have to give special importance to the grea...
-
§ LR parsers can be constructed to recognize all programming language constructs for which CFG can be written. § LR parsing is no...
-
A switching circuit consists of a finite number of gates ,each of which can be in any one of the two conditions 0...
-
The CPU bus has multiplexed lines but the system bus has separate lines for each signal. (The multiplexed CPU ...
No comments:
Post a Comment