Features:-===========================================<font face=verdana size=10><center><TABLE border=0 cellPadding=0 cellSpacing=0 width="70%"><TR><TD><STRONG>Topic</STRONG></TD><TD><STRONG>Java</STRONG></TD><TD><STRONG>C++</STRONG></TD></TR><TR><TD>Pointer</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>OperatorOverload</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Preprocessors</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Structures,Unions</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Enums</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Functions</TD><TD>No(only methods within classes)</TD><TD>Yes</TD></TR><TR><TD>Goto statement</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Automatic Coercions</TD><TD>No(types should be converted explicitly)</TD><TD>Yes</TD></TR><TR><TD>Global Variables</TD><TD>No(variable is a part of a class)</TD><TD>Yes</TD></TR><TR><TD>Templates</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Private, Protected, Public</TD><TD>Yes</TD><TD>Yes</TD></TR><TR><TD>Inheritance</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Default Parameters</TD><TD>No</TD><TD>Yes</TD></TR><TR><TD>Garbage Collection</TD><TD>Yes</TD><TD>No</TD></TR><TR><TD>Multi-thread support</TD><TD>Yes</TD><TD>No</TD></TR><TR><TD>Multiple Inheritance</TD><TD>Yes. Supports only interface inheritance and not implementation inheritance!</TD><TD>Yes</TD></TR><TR><TD>Exception Handling</TD><TD>Yes.try/catch must be defined if the function declares that it may throw an exception.</TD><TD>Yes. You may notinclude the try/catch even if the function throws an exception.</TD></TR><TR><TD>Function Overload</TD><TD>Yes</TD><TD>Yes</TD></TR><TR><TD>Internationalization</TD><TD>Yes</TD><TD>Yes</TD></TR></TABLE></center></P></font>
Category:Java Interview Questions
No comments:
Post a Comment