Explain Java Comments »



Q) Define Java Comments? There are 3 types of comments in JAVA. a) Single Line Comments: This Comments start with ‘//’. For Ex: // This is a single line comment for only one line b) Multi-Line Comments: This Comments starts with ‘ /* ‘ and ends with ‘ */ ‘. For Ex: /* ————— —————This [...]