Can we write code on sololearn which includes importing packages? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Can we write code on sololearn which includes importing packages?

14th May 2020, 10:27 AM
Sagar Gupta
Sagar Gupta - avatar
2 Respostas
+ 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