Java Basic Go Back Syntax to import package views 03:51 A package is a group of related classes which provides access and protects the access and also handles the management of the space for the various names. Examples of Java package:- A) Java.lang B) Java.util C) Java.io Java.io is a package which includes all the classes of input/output. Datatypes and Variables Types of Variables Defining the structure of java class Syntax to import package Working with Java Data types Object reference variable String builder class and contructor Methods of string builder class Using Operators and Decision Constructors Using Increment and Decrement Operators Using Right shift operators Using Parenthesis to override operator precendence