We need small Java class which will be used on J2ME platform MIDP 2.0. So you can only use [url removed, login to view] which is supported under MIDP 2.0 except for File API which you can use from J2SE and which we will replace later by the J2ME File API of our device. This way the class can be also tested under J2SE. Internal class functionality must use eventually: OutputStream or DataOutputStream InputStream or DataInputStream and not depend on File API from J2SE. The class has to work on settings file which is normal text file and looks like this: property1=number property2=string1 property3=string2 property4=string3 When the class is created it needs to check if settings file exists, let's say with name setup.ini. If it does not than the class needs to create this file and populate it with above property1 .. 4. If the file does exists than the class does not do anything. Further we need interfaces like: getProp(String name) setProp(String name, String value) so getProp("property3") will return "string2" and setProp("property2", "new string value") will write "new string value" behind property2 in the file so the file will become: property1=number property2=new string value property3=string2 property4=string3 Every time get and set method supposed to open and in the end close the file so that file is not kept open when those methods are not used and thus consistent if application crashes. If property is overwritten with bigger value the class has to acomodate it so that the other properties are not overwritten.