Demo entry 6529046

Main

   

Submitted by anonymous on Jun 01, 2017 at 01:01
Language: Java. Code size: 862 Bytes.

package pprg.arbeit;

public class PPRGArbeit {

    public static void main(String[] args) {
        functions.belegen();
        functions.menue();

    }

}

//FileWriter :
//------------------------------------------------------------------------------------
//Writer fw = null;
//        
//        try
//        {
//            fw = new FileWriter("D://kassenbon.txt");
//            fw.write(gesamt);
//            fw.flush()
//        }
//        catch(IOException e)
//        {
//            System.err.println("Konnte Datei nicht erstellen");
//        }
//        finally
//        {
//          if (fw != null)
//            try
//            {
//                fw.close(); 
//            }
//            catch (IOException e)
//            {
//                e.printStackTrace();
//            }
//        }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).