In java pointer is not used but it is highly secure language. How?
In java pointer is not used but it is highly secure language. How?
yes it is secured language in both accessing and memory usage.
- it is portable,simple and networked
- it is garbage collected dynamically
- exceptions are raised if any relevant information not found like ClassNotFoundException.
- java support collection frame work.
- dynamically creates arrays either increasing or decreasing by using vector class in collection framework.
- it will be run on any system.
1.Programs runs inside the virtual machine sandbox.
2.Array index limit checking
3.Code pathologies reduced by
bytecode verifier - checks classes after loading
class loader - confines objects to unique namespaces. Prevents loading a
hacked "java.lang.SecurityManager" class, for example.
security manager - determines what resources a class can access such as reading and writing to the local disk.
java is highly secured language but c# is also object oriented language which is also powerful security is high type safety is high c# market is also better
In c we use pointers ,when work with pointer means work with direct memory ,when information store in the address that was use other user , some it may change but in java no pointer so java is secured language
sorry friends,my english is very poor plz leave lt
Yes, Actually for security purpose there are no pointers in java.Because
a pointer can be given any address in memory, even addresses, that might
be outside the jave runtime system.With pointers data can be accessed from
outside the java runtime environment.
prerna pargai
Last edited by ppargai; 08-06-2008 at 08:16 PM.
Yes, Actually for security purpose there are no pointers in java.Because
a pointer can be given any address in memory, even addresses, that might
be outside the jave runtime system.With pointers data can be accessed from
outside the java runtime environment.
thanks but dear in c language pointer works on memory directly it was best way to reduce complexity of exection program ,java is safe bcoz pointer does not mentioned in it becoz api is bounded but you can not see in api java pacakage .c language always been a good and will be but classes in is higly secured but after coming java microsoft introduced . net framefork as basis of c# language that was based on c,c++,java thats why you see all syntax of c# are same but java syntax is not same as c# dear bye
pointer is not outsided in java but its pointers compatibility has been hided in api form poiner is not referred .
compile time source code is converted into byte code and then executed through occuping memory at run time ..........
if you have created a program you need memory to run your program until occupied memory at run time you can not execute program becoz memory is occupied dyanamically this concept came c.c++ language so point functionality is hided as api bounded wrapper class.
use decompilation method in java than you would we aware pointer .......dear
jvm is collection of compiler and interpreter when you are compiling program it runs succesfully if not run interpreter handeles errors that came in given lline
dear array indexing is also in c# language limit in also c# .
dont explain in code pathologies of jvm everyone knows it
in .net framework system.windows .securitywin32> is available ...............
when the java was created it was to take responsebility about security problems ....
programmers worried to reduce the code of pointer they thought how shuld we hide its pointer functionalaty they produce they create their api classes
api means application programming interface which came through c language sorry i have to go i will explin every thing next time ...............
so till then keep in touch dear bye bye....................................