Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Interview
»
Technology
Which of the following is not used for commenting in java?
//
/* */
/** */
/** **/
Correct Answer:
/** **/
Explanation:
// is a single line comment
/* */ is commenting on one or more lines
/** */ is documentation comment
← Previous Question
Next Question→
More Questions from
Technology
Which is true?
class Hell { public static void main(String[] args) { Integer i = 42; String s = (i<40)?"life":(i>50)?"base":"ball"; System.out.println(s); } }
try { int x = Integer.parseInt("two"); } Which could be used to create an appropriate catch block?
Difference between Java Beans & Servlets?
Just by seeing the signature of the bean how can you specity whether it is a Statefull of Stateless Session Bean?
How are this() and super() used with constructors?
How do you decide when to use HashMap and when to use TreeMap ?
What is the Dictionary class?
What is the common usage of serialization? What exceptions occur during serialization?
What is the purpose of garbage collection in Java, and when is it used ?
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments