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