import java.io.*;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
public class Student {
private Node first,last;
private int count;
public Student(String name) throws FileNotFoundException
{
File sourceFile=new File(name);
Scanner input= new Scanner(sourceFile);
Object list=new LinkedList();
StringBuffer temp=new StringBuffer ();
while (input.hasNext())
{
temp.append(input.nextLine());
list = temp.toString();
}
}]
This post has been edited by blackcompe: 03 March 2012 - 09:23 AM
Reason for edit:: Please use [code] tags when posting to the forum.

New Topic/Question
Reply


MultiQuote



|