0

Can we write code on sololearn which includes importing packages?

14th May 2020, 10:27 AM
Sagar Gupta
Sagar Gupta - avatar
2 odpowiedzi
+ 6
Hello Sagar, Yes. But only packages from the java API which has nothing to do with GUI. For example import java.util.ArrayList; works fine. But import javax.swing.JFrame; would not work. Maybe there are some more which are not supported.
14th May 2020, 10:41 AM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Yes you can but only those packages that are available.
14th May 2020, 10:35 AM
Raj Chhatrala
Raj Chhatrala - avatar