The code creates an array called obj that contains three integer values: 12, 13, and 14.
Then, a for...in loop is used to iterate over each element of the obj array. The for keyword is followed by a variable called prop, which is used to represent the value of each element in the array as the loop iterates. The in keyword is followed by the name of the array (obj).
Inside the loop, the print() statement is used to output the value of each element to the console. The variable prop is used to access the current element of the array.
void main() { var obj = [12,13,14]; for (var prop in obj) { print(prop); } }To download raw file Click Here
Enter the Table and Limit : 10 5 10*1=10 10*2=20 10*3=30 10*4=40 10*5=50
Learn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions