1 Reply Latest reply on May 9, 2008 6:10 AM by 807601

    how use properties file

    807601
      Hi i read about properties file in java .. i didn't get much more..
      how can we use this in program.. what is the benefit..
      anyone know any examples in site.please let me know about that
        • 1. Re: how use properties file
          807601
          int count=getGoogleSearchCount();
          
          public int getGoogleSearchCount(){
          search keyword="http://www.google.co.ke/search?hl=en&q=java+properties+class&btnG=Google+Search";
          // missing code
          return count;
          }
          
          System.out.println(count);
          i ran the above code snipplet and guess the output?

          291,000 results.

          DONT BE LAZY.