arunpawar -1 Junior Poster in Training 17 Years Ago We import the packages from java.somepackge.*; or javax.package.*;package can be anything from javas own api or other external api. My question is what is difference between java and javax? api java 0 0 Reply with Quote Share javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster 17 Years Ago They are different packages with different classes. If you want a class that is inside java.package then import java, or else import javax. 0 0 Reply with Quote Share Share Facebook Twitter LinkedIn Reply to this topic Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster 17 Years Ago They are different packages with different classes. If you want a class that is inside java.package then import java, or else import javax. 0 0 Reply with Quote Share