Similar to the Java programming language, Kotlin also supports the grouping and categorization of code using packages. The following package declaration can be used to do that:
package com.packtpub.springboot2kotlin.gettingstarted
import java.sql.*;
Also, whole packages or specific classes inside a package can be imported just as in Java.