Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What packages are imported automatically in a java file

 
Chiran Mathur
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What packages can we assume to be already available when we write a java file. What packages we need not import each time you create a java file.
Also is this done by the compiler and jvm both?
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The compiler automatically imports java.lang.*
that's the only one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic