मराठी

Which of the following is the right way to use a comment in Java program? - Computer Applications

Advertisements
Advertisements

प्रश्न

Which of the following is the right way to use a comment in Java program? 

पर्याय

  • /* comment */

  • /* comment

  • // comment //

  • */ comment */

MCQ

उत्तर

/* comment */

Explanation:

/* comment */ is used to write multi-line comments.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.06: Input in Java - EXERCISES [पृष्ठ ६५]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.06 Input in Java
EXERCISES | Q I. 1. | पृष्ठ ६५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×