How to use Properties File in JAVA

 

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(in video)...

5. Run the file.

6. Finish.

 

Thank You

Click here to visit my facebook page for more videos

Comments

Popular posts from this blog

How to Open a Text File with Notepad using JAVA in NetBeans

How to Perform DES Encryption and Decryption of TXT file in JAVA with NetBeansIDE