Scenario 2

Remember that the data data model element has two elements for each of its n children:

Now that that the index of “data_store_1”, namely the value of the variable “index_of_data_store_1”, is known, try creating and retrieving from a data store by completing the dot notation below:


   SetValue ( "adl.data.” + index_of_data_store_1” +. ", “Hello, Data Store!”);
   var test_string = GetValue(adl.data.” + index_of_data_store_1” + . ");
   System.out.println(test_string);

Click after you complete this exercise.