public static void main(String[] args) // main method
{
System.out.println( "Gershwin, George" ); // display value
}
}
Output:
Gershwin, George
Explanation:
Following is the description of Statement:
In this, we using the System.out.println() to print the value in the console window. The System.out.println() is used in java is used to print the data in the console.
In this, we pass the "Gershwin ,George" string in the double quotes along with a comma between them.
Binary Search Tree is also called ordered tree or sorted binary tree. In the tree each node contains smaller values in the left side of the subtree and larger values in the right side of the subtree.