In the areas of security risk and how they are exploited.
As well as precautions to take in order to reduce these security risk?
Thanks
Hey can anyone please tell me the the similarities difference between C Language and Java?
In general, Java is an interpreted language, which runs on a virtual machine, therefore its security risk, as well as capabilities, are less than C (and C++). C enables direct access to the hardware, and therefore is much more risky.
The typical C security fault is a "buffer overrun", meaning that a packet of machine code is sent to an unsuspecting location and gets executed. This type of attack is very difficult (or maybe even impossible) to coordinate in Java.
Application level attacks (such as phishing) can be done in any language, as they attack the human and not the machine.
Reply:In some cases, rather than an Interpreter, a Just In Time (JIT) Compiler can be used at run time. This can make certain Java code run as fast as C compiled code. You might find this JIT via IE Tools, Internet Options, Advanced under Java. This PC appears to use Sun Java Runtime Environment (JRE).
Java programming code for processing (not input/output) is the same as C. Well it was for the number crunching program that I converted.
Reply:As said before:
C is compiled and Java is interpreted
Java runs on a virtual machine
C runs anywhere
C is low level
Java is high level
C isn't object oriented
Java is about as object oriented as it gets
Reply:C language is compiled and java is interpreted
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment