Let's do little exmaple.
Open the netbeans and create a new project and inside the main method, do the followings,
Output shoud be look like this.
In the above example there is "+" sign. In the java "+" sign do two things.
- "+" with a string do the concatanation (join two strings)
- "+" with numbers do the arithmatic operation "addition"


No comments:
Post a Comment
Note: Only a member of this blog may post a comment.