What is the difference between C++ & Java?
Answer Posted / mahesh telor
c++ provides two types of comment where java provides 3
types of comment
* c++ comment is * java comment is
(1) single line comment (1) singleline comment
(2) multipleline comments (2) multipleline comments
(3) documentation comment
| Is This Answer Correct ? | 16 Yes | 4 No |
Post New Answer View All Answers
What are the different ways of creating thread?
Can we define private and protected modifiers for variables in interfaces?
What are the two environment variables that must be set in order to run any java programs?
How many types of assembly languages are there?
How is hashcode calculated in java?
Can you explain the final method modifier?
What are the ways in which a thread can enter the waiting state?
What are void methods?
What are the different types of collections in java?
What are static variables and functions?
What is callable java?
What does sprintf mean?
When do you get classcastexception?
What if I write static public void instead of public static void in java?
What is anagram in java?