Adding custom names for imports

In this recipe, we are going to explore how to add custom names to the import declarations. We are going to import the java.lang.StringBuilder class, add a custom name to it and make use of it in the sample code to demonstrate it in action. 

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

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