When you create a java class (with IDEA), and prov...
# announcements
h
When you create a java class (with IDEA), and provide the name
com.ab.cd.ef
.) it creates the package
<http://com.ab.cd|com.ab.cd>
and puts the class
ef
inside it. Doing the same with Kotlin, it creates a file called
com.ab.cd.ef
. Whyyyy 😞
âž• 1
t
Because they're all packages I guess
h
Because you've created a File and not a Class?
👆 1
h
ohhhh
wait if i select the class, or interface option
will it make the packages?
h
I think so
h
let me try
t
yes it does, everything before the last dot is made into a package and then it is the name of the file
h
DAMN YES. I am so happy
h
🙂