How to use Properties files of JAVA in NetBeansIDE

Опубликовано: 15 Июль 2013
на канале: raksrahul
20,922
53

How to use Properties files of JAVA in NetBeansIDE

1. Open NetBeansIDE.

2. In your project,

2.1 right click on package(any package)
2.2 choose~new~others~others~properties file

3. In properties file, write the 'key' and its 'value' as

(key)=(value)
(key)=(value)
.....

4. To access the properties file, make a new java class file and write your code...

5. Run the file.

6. Finish.

Follow us on :
Facebook :   / raksrahul-100219708647780  
Instagram :   / raksrahul_ig  

#raksrahul #java #netbeanside