The Kotlin packages

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.180.43