java can provide security ,how can provide?
Answers were Sorted based on User's Feedback
Answer / vatti
Java doesn't allow direct access to memory like C/C++.
Memory access violations are the root cause of 90% (approx,
maybe more) of all software bugs/problems. This is also the
root cause of many viruses, etc. But there are many more
reasons why Java is secure...
Java provided with FireWall between a networked application
and your computer.
objects have access levels(private,public,protected)
class file is in bytecode format(ie. encrypted)
| Is This Answer Correct ? | 53 Yes | 2 No |
Answer / liza
Java Compiler creates .class file from the .java file and
this .class file comprises of bytecode,which is in encrypted
format.Java bytecode can be run on JRE.so JRE needs to be
installed for executing bytecode.
Java does not support pointer concept.That's why there is no
direct access to memory.This makes java robust and secure.
Java is provided with firewall between the networked
application and the computer.
Java provides access specifiers(
friendly(default),public,protected,private) which declare
which entity cannot be accessed from where.
| Is This Answer Correct ? | 27 Yes | 1 No |
Answer / gaurav
java is a secure language because of ByteCode.
A bytecode is a just like as machine code, whenever we
compile a src program in java, compiler creates a .class
file this .class file is called as bytecode. Then with the
help of this byte code java application luncher runs the
program and create's exe of a program....
java doesn't provide acess to memory directly that's why
it's also called a Robustic language.
| Is This Answer Correct ? | 15 Yes | 8 No |
Answer / chidananada p.d
java consists of JAAS [java authentication and authorization
services ],By implementing these classes into our
application we can provide security.But in other
technologies there is no security concepts available directly.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anjali
java provides security by giving name space concept,
whenever a classloader loads classes,for each class loader
there is a seperate space thats get created , similary when
it loads applets its loads them in seperate name space so
that code in different name sapce remins unaffected by any
currupted code in any other name space
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / aanchal arora
because their are no pointers included in java. as we all know pointers break security due to which other hacking programs and virus can be developed ....
like in c if we add two pointers it crashes the program .......and in java its not possible
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / nithin nataraj.i
JAVA is Platform Independent System Such that it should be Run on any Environment.Since Java does not contains .exe files instead it contains .class files which are in Machine level can be understandable. We cannot convert these .class files to .java files So it is Secure.
Java Software will be in the form of .jar and .war which provides a Firewall so that External programs cant be interrupted.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / roshan
JAVA IS SECURE LANGUAGE BECAUSE OF ROBUSTIC IT MENS SRE PROG
CONVERTED INTO BYTE CODE THAT IS (ENCYRPTED FORMAT)..AND
ASLO JAVA CRATE AN FIRWALL IN NETWORKING.MOST IMPORTANT IS
IT RUN ON JAVA RUN TIME ENVIROMENT OTHER THING CAN'T SUPPORT
LIKE VIRUS.
| Is This Answer Correct ? | 0 Yes | 6 No |
Write a java program to check if a number is prime or not?
Why local variables are stored in stack?
What is the root class for all Java classes?
Why synchronization is important in java?
Enlist few advantages of inheritance?
What are multiple inheritances? Is it supported by java?
What are the advantages of assembly language?
How do you control extraneous variables?
What is io stream in java?
Explain the difference between abstract class and interface in java?
if am have 100 threads(for ex:T1,T2---T100) how we give priority to these threads and how the system excute these threads
What are methods of a class?