Create an object/Native demonstration: Difference between revisions

m
minor rewording
m ({{omit from|GUISS}})
m (minor rewording)
Line 3:
'''Task:'''
 
Create a Hash/Associative Array/Dictionary-like object, which is initialized with some default key/value pairs using the languages native method of object creation. The object should behave like a native Hash/Associative Array/Dictionary of the language, if any, but with the following differences:
 
#* No new item can be added;
#* Item cannot be deleted, (but native delete method may used to reset the item's value to default) ;
 
It the language supports '''Magic Methods''', then show how these work.
'''Objective:'''
 
The objective is not just create such object, but to demonstarion the language's native way of object creation. For some language, the task should show how the so-called '''Magic Methods''' work.
 
=={{header|J}}==