posted 23 years ago
// why i am getting NullPointerException
x[0] is null, so you have null.xx which doesn't work.
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt