CrazyEngineers
  • applet in java but not in c++ why

    Updated: Oct 25, 2024
    Views: 1.0K
    hi friends,
    i think it,s an idiote question but i just want to know what additional in java is so that we can run java on web page but not c++;
    .
    why there is no any applet like feature,s in c++;
    .
    😁
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • HImanshu_Sharma

    MemberMar 19, 2010

    i think c++ does not have such graphics as in java and there are many predefined classes in java and packages,,,that c++ doesn't have...The Applet class must be the superclass of any applet that is to be embedded in a Web page or viewed by the Java Applet Viewer. The Applet class provides a standard interface between applets and their environment.it inherits various classes like lang.object,.awt.panel.etc
    Are you sure? This action cannot be undone.
    Cancel
  • Morningdot Hablu

    MemberMar 19, 2010

    HImanshu_Sharma
    i think c++ does not have such graphics as in java and there are many predefined classes in java and packages,,,that c++ doesn't have...The Applet class must be the superclass of any applet that is to be embedded in a Web page or viewed by the Java Applet Viewer. The Applet class provides a standard interface between applets and their environment.it inherits various classes like lang.object,.awt.panel.etc
    hi himanshu,
    i think you are right but we can write that type of predefined classes also in c++ and why c++ does not have such graphics as in java ???
    .
    😁
    Are you sure? This action cannot be undone.
    Cancel
  • Manish Goyal

    MemberMar 19, 2010

    i think when c++ was developed it was only meant for enterprise applications but java was developed to fulfill all the requirements.
    Are you sure? This action cannot be undone.
    Cancel
  • HImanshu_Sharma

    MemberMar 19, 2010

    yeah mr. Goyal is right c++ is older than java..so java is developped to fulfil the requirements of a programmer..and another reason is c++ is not a pure object oriented language,,,so.....
    Are you sure? This action cannot be undone.
    Cancel
  • ChenPa

    MemberMar 22, 2010

    But guys i have a different answer.

    The C++ is both compiled and run on a single platform.
    But Java is run on a JVM.

    What an applet mean?
    in blunt terms, an application that should be run on a web application.
    means it is downloaded and run on another platform.

    C++ produce .exe files and those cannot be used over internet . .
    Only java files can be used over internet.
    Are you sure? This action cannot be undone.
    Cancel
  • HImanshu_Sharma

    MemberMar 23, 2010

    yeah chen it is also a cause bt i dont think that only java files are used over internet....
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register