import java.util.ResourceBundle; import java.util.Properties; import java.io.InputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; class Program01 { public static void main(String[] args) throws FileNotFoundException, IOException { ResourceBundle rb = ResourceBundle.getBundle("Program01"); System.out.println(rb.getString("Program.Verzio")); Properties p = new Properties(); InputStream fin = new FileInputStream("Program01.config"); p.load(fin); System.out.println(p.getProperty("Program.Verzio")); } }