Hi there
I have a question that
for every stream that we create for
java i/o we write at the end in finally block
it works
my question is as per syntax in if (is!=null) this means that if is means stream contain some value then close it(!=null)
then how it in my opnion it should be like (in logical way)
if stream contain nothing then close it
if(is==null)
{
is.close();
}
I am confuse about working this line
can any one explain how it works
thanks