UrbanPro

Learn Java Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Why Java doesnot have Pointer ?

Asked by Last Modified  

19 Answers

Learn Java

Follow 0
Answer

Please enter your answer

Industry expert and professional lecturer/trainer

To avoid memory hacks and leaks it is an intentional decision taken by JAva Pioneers
Comments

Corporate trainer with 11 years of experience, Founder of Study9

The reasons are Pointers are fundamentally unsafe. Java has a robust security model and disallows pointer arithmetic.Java ensures pointer access via indexed array. A big advantage of Java's indexed array access is that it detects and disallows out of bounds array access, which can be a major source...
read more
The reasons are Pointers are fundamentally unsafe. Java has a robust security model and disallows pointer arithmetic.Java ensures pointer access via indexed array. A big advantage of Java's indexed array access is that it detects and disallows out of bounds array access, which can be a major source of bugs. Java has the concept of References to objects,but it just doesn't call them pointers. Any normal object reference works as one of these. When you do String s="Hello"; you get what is effectively a pointer to a string object. read less
Comments

Expert Tutor

Java does not have pointers. This was an intentional decision by the creators of Java, because most people would agree that having pointers creates a lot of potential for bugs in the code -- pointers can be quite confusing, especially to new programmers. Because arrays and strings are provided as class...
read more
Java does not have pointers. This was an intentional decision by the creators of Java, because most people would agree that having pointers creates a lot of potential for bugs in the code – pointers can be quite confusing, especially to new programmers. Because arrays and strings are provided as class types in Java, there is no need for pointers to those constructs. By not allowing pointers, Java provides effectively provides another level of abstraction to the programmer. read less
Comments

Tutor - Maths and computer science

Because Java was built with safety in mind and pointers are a point of complexity(and thus failure) in a lot of programs if the developer is not careful. Java abstracts a number of things away from the developer to make things easier and safer for them, ie, garbage collection.
Comments

Do remove the complexity in programming
Comments

IT Professional Trainer working with a reputed Institute. Headquarters: Hyderabad

Yes. They're called "references".
Comments

Java/J2EE, B.E./B.Tech/MCA SubjectsTraining

Pointers need so memory spaces at the runtime. to reduce the usage of memory spaces java does not support pointers. and also pointers take more time at the run time.
Comments

Trainer

Java doesn't have pointer but has reference - which is more or less similar to it. but unlike c/C++, there's no separate pointer object (or variable). Each Java variable is a reference to an object
Comments

Excel VBA Expert

The pointer is hidden and everyone should be happy about it
Comments

Tutor

This isn't a simple question with a simple answer but here's the gist of it. Java doesn't give the programmer direct access to memory, therefore no pointers no malloc no free no realloc etc. This is done for safety reasons, it protects the programmer from tampering with things (in Java's mind at least)...
read more
This isn't a simple question with a simple answer but here's the gist of it. Java doesn't give the programmer direct access to memory, therefore no pointers no malloc no free no realloc etc. This is done for safety reasons, it protects the programmer from tampering with things (in Java's mind at least) they shouldn't. read less
Comments

View 17 more Answers

Related Questions

Is it possible to learn java at home without coaching in one month?
It all depends on you. If you are already aware of programming then it is definetly possible to learn java at home. But if learn through a tutor then you can learn easily.
Pritom
0 0
5
How can I learn Java from home?
The best way to learn any technology is to: Step 1- Read in brief about the language from online source. Step 2- Understand basic syntax. Step 3- Take some mini project and start building from scratch...
Divya
0 0
5
Is there anyone who can teach Advance Java in minimal time and low cost?
2 weeks i can teach entire Core and Advanced JAVA ... But certification will not be given for this ..as am not organizing Batch
Garwita
will I get certificate
Better than certificate if you enroll with me you will get confidence and lot of practical knowledge...certifications dont matter after a period of time what really matters is your approach to a problem...
Sk.
Which one is faster, Python or Java?
The speed of Python and Java can vary depending on the specific task. Java is generally considered faster for low-level operations and large-scale applications, while Python is often valued for its simplicity...
Chetana
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Software Development Training In Jaipur
Satyam Web Solution provides website designing &development and software designing &development training in Jaipur for various stream’s students. MCA 6 month Industrial Training/Internship B....

Android : Support multiple themes in an android application
If you are developing a theme based application to enhance user experience, then following steps needs to follow.We are taking example of an android application having 2 themes white and black.Step 1:Define...

Programing Languages Learning Tricks
You want to learn that new language or library or framework as soon as possible, right? That’s understandable. Fortunately, there are a handful of tips that can help you to better retain all of that...

Harshal G.

0 0
0

What Is Applet & Its Life Cycle?
What is Applet & its life cycle?Applet is a Java programme that can be embedded into HTML page.Java Applet runs on the java enables web browsers such as Mozilla & Internet Explorer.Applets are...
I

ICreative Solution

0 0
0

Class and Objects in Java
Class is a template or a blueprint which is used to describe an object. On other hand Object is a reference of a class which follows all the stuff written inside the class. How about taking the whole tour in the following video

Recommended Articles

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Java Training Classes?

The best tutors for Java Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Java Training with the Best Tutors

The best Tutors for Java Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more