/i/Tespit

  1. 26.
    0
    Hiçbiri değilim çugu. insan benide yazar
    ···
  2. 27.
    0
    yok bacın
    ···
  3. 28.
    0
    Rez lez editlicem

    edit : bitmiyo len mq
    ···
  4. 29.
    0
    aynısını ben yaptım aq
    ···
  5. 30.
    0
    Cok uzun aa
    ···
  6. 31.
    -4
    ,public class DelLstLine{
    public static void main(String[] arg){
    try{
    RandomAccessFile raf = new RandomAccessFile("RandFile.txt", "rw");
    long length = raf. length();
    System.out. println("File Length="+raf. length());
    //supposing that last line is of 8
    raf. setLength(length - 8);
    System.out. println("File Length="+raf. length());
    raf. close();
    }catch(Exception ex){
    ex.printStackTrace();
    }
    }//end of psvm
    }//class end-s
    ···