Core Java multiple choice questions(mcqs) and answers for interview set with five mcqs from chapter Java programming fundamentals. Each quiz objective question has 4 options as possible answers. Choose your option and view given correct answer.
Answer: Option [C]
Answer: Option [A]
Java supports three types of comments.
(i)Single line i.e. line e.g. //comment
(ii)Multi line i.e. block e.g. /*comment*/
(iii)Javadoc comments e.g. /**comment*/
Answer: Option [B]