Comments
There are three types of comments in java.
1) single line comment
- double slashes are used for single line comment.
//this is comment
2) multi line comments
- the text written between /* and */ are multiline comment.
/* this is a Multiline comment *.
Operators
- An operator is symbol that takes one or more arguments and operates on them to produce a result.
- There are many types of operators which are available in java.
- Arithmatic
- relational
- Logical
- Increment and decrement
- Assignment
No comments:
Post a Comment