R4R
Right Place For Right Person TM

What is the difference between C++ & Java ?

previous previous previous
Question:
What is the difference between C++ & Java ?

Question:What is the difference between C++ & Java ?


Answer
Difference between java and C++ : * C evolved into C++, and C++ transmuted into Java. * Java is the language of the Internet whereas C++ was designed mainly for systems programming, * Java supports object-oriented programming, same way as C++. * Java does not support operator overloading. * Java does not include a preprocessor or support the preprocessor directives. * Java does not support multiple inheritance. * Java does not support destructors, but rather, add the finalize() function. * Java does not support templates. * Java does not support pointers.

By:Jalees
Date:

What is the difference between C++ & Java ?

Post Your Answers


User Name:
Answers:

Related Links

  1. What is the difference between Process and Threads ?
  2. How will you initialize an Applet ?
  3. What is the order of method invocation in an Applet ?
  4. When is update method called ?
  5. What is JNI ?
  6. What is the base class for all swing components ?
  7. Is there any tag in HTML to upload and download files ?
  8. What is the Layout for ToolBar ?
  9. How will you add panel to a Frame ?
  10. What is the corresponding Layout for Card in Swing ?
  11. What is light weight component ?
  12. What is difference in between Java Class and Bean ?
  13. Diff between Application and Applet ?
  14. What is the use of Interface ?
  15. Why Java is not fully objective oriented ?
  16. What it the root class for all Java classes ?
  17. What is the exact difference in between Unicast and Multicast object ? Where we will use ?
  18. Why there are some null interface in java ? What does it mean ?
  19. What is latest versions in JAVA related areas ?
  20. What is mean by class loader ? How many types are there? When will we use them ?
  21. public static void main - Explain?
  22. What is difference between String & StringBuffer?
  23. What is Wrapper class. Is String a Wrapper Class?
  24. What is Default modifier in Interface?
  25. Can abstract be declared as Final?
  26. Can we declare variables inside a method as Final Variables?
  27. How can a dead thread be started?
  28. Can Applet have constructors?
  29. What is Checked & Unchecked exception?
  30. Explain. Two types of multi-tasking.
  31. Explain I/O Filter.
  32. Can applet in different page communicate with each other?
  33. Does JavaScript support multidimensional arrays ?
  34. What is meant by a resource leak ?
  35. What are the thread-to-thread communication ?
  36. What is meant by deadlock ?
  37. What is user defined exception ?
  38. In an HTML form I have a Button which makes us to open another page in 15 seconds. How will do you that ?
  39. Suppose If we have variable ‘ I ‘ in run method, If I can create one or More thread each thread will occupy a separate copy or same variable will be shared ?
  40. What is function in a constructor ?
  41. In a Container there are 5 components. I want to display the all the components names, how will you do that one ?
  42. Differeence between canvas class & graphics class?
  43. What is the restriction on an Overridden methods’ accessibility ?
  44. Can a method be overloaded by different return type but same argument type?
  45. What is constructor chaining and how to do this in Java?
  46. What is passed by ref and by value?
  47. In DB access where to write the query. In JSP or servlet?
  48. Explain difference between Constructer and a method
  49. What are differences between procedural and object oriented language?
  50. Why threads block or enters to waiting state on I/O?

Question:What is the difference between C++ & Java ?

Back Home Next

New Updates

Topics

Topics

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R