When and what kind of data that should be initialized?
For example, is it necessary to initialize the reference to the instance of the RecordStore and RecordStoreEnumeration as null?
And How about ContactList and Contact?
When and what kind of data that should be initialized?
For example, is it necessary to initialize the reference to the instance of the RecordStore and RecordStoreEnumeration as null?
And How about ContactList and Contact?
Read this Article for J2me Best Practices
http://wiki.forum.nokia.com/index.ph...Best_Practices
Thanks,
Ekta
According to your question in the DIBO , I think you are new too the java Me.See this :http://wiki.forum.nokia.com/index.ph...d_with_Java_ME
Regarding your second question : Personal Information Management APIFor example, is it necessary to initialize the reference to the instance of the RecordStore and RecordStoreEnumeration as null?
And How about ContactList and Contact?
Cheers,
RaHuL
I recommend against initializing variables to null. See Initializing Variables and Exception Handling.
Graham.