Defining packages

Packaging is a mechanism that allows us to group classes, interfaces, and sub-packages. In our case, a declaration of a package in a file may look as follows:

package com.packt.learn_spring_for_android_application_development

All citizens of the file belong to this package and must be located in the appropriate folder.

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

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