Computer Science, asked by shambhavi941, 3 months ago

JAVAS MULTI-LINE OR SLASH STAR OR TRADITIONAL COMMENT IS A PIECE OF TEXT ENCLOSED IN DASH AND DASH....

SYNTAX ERRORS OCCURS WHEN THERE HAPPENS TO BE MISUSE OF A PROGRAMMINGS LANGUAGE DASH.

JAVAS SINGLE LINE COMMENT STARTS WITH DASH WITH NO WHITE SPACES AND LASTS TILL THE END OF LINE...

Answers

Answered by rudrakshasahu123
1

Answer:

sorry idk 1st one

2.In computer science, a syntax error is an error in the syntax of a sequence of characters or tokens that is intended to be written in compile-time. A program will not compile until all syntax errors are corrected. For interpreted languages, however, a syntax error may be detected during program execution, and an interpreter's error messages might not differentiate syntax errors from errors of other kinds.

3.Java's single line comment starts with two forward slashes with no white spaces (//) and lasts till the end of line. If the comment exceeds one line then put two more consecutive slashes on next line and continue the comment.

i hope it helps you

Similar questions