This Question is Answered 

    In Which Factor The Absence Of Pointer In Java Is An Advantage?

    asked 2 years ago

    Can't find what you're looking for?

    Ask a Question, Get an Answer ASAP


    Date | Rating

    Answers


    In the absence of pointers in Java is as advantage to greatly improve the readability and simplicity of protocol code and really only makes protocol header processing a bit more cumbersome. The Java language actually does possess pointers and they are just not available for the programming purpose. In Java all objects (that is, instantiations of classes in Java) are accessed by reference so many unnecessary data-touching operations can be avoided.

    The absences of pointers in Java eliminate an entire class of programming flaws and lead to more stable and easily maintained code. The inherent protection that Java offers when dealing with arrays is also very nice for large application development, when once again, the goal is minimizing room for programmer error. This benefit is minor, however, in
    light of the number of array classes available for C++ providing the same degree of safety that Java offers.

    The Java protects the student from potentially difficult to find and frustrating errors.

    answered 2 years ago   

    New Comment

    1000 words left


      The main reason is that we will use java for developing windows application as well as web applications. If we use pointers, particularly for web applications we have a problem with security.
      Using Pointers we directly get access to the address directly in the system. If we use in web the users will be able to access your server and modify the address location of the data. This is a violation of security. So to prevent this pointers have been completely avoided in JAVA.

      answered 1 year ago   

      New Comment

      1000 words left

      What is Blurtit ?

      Ask questions on any topic, get great answers from real people for FREE. Blurtit has hundreds of thousand of members so your sure to get the answer your looking for.

      Ask a Question.