You call those 2 static methods directly from another class like this



try{
classname.write(s);
classname.writes(s,s);
}catch(IOException e){
//here is how your handle the...