Sunday, 15 June 2014

java - Do you need import statements in non-driver classes? -



java - Do you need import statements in non-driver classes? -

i starting larn how utilize netbeans can larn create guis, saw in classes of programme java.util classes throw "could not find symbol" error in netbeans.

that makes me wonder: need import java.util (and other apis javax.swing or java.io) in classes of program, or driver class?

it needs imported in .java files beingness referred non qualified name , not implicitly available (for illustration java.lang.* )

see

using bundle member

java class netbeans import

No comments:

Post a Comment