Does Java support pointers?

Asked by Last Modified  

7 Answers

Learn Java

Follow 0
Answer

Please enter your answer

Take a demo class and you will know

Yes and no. . The pointer model is of course supported by Java. But it has become much easier to the developer to handle it. Because Java exposes the concept of pointer in terms of reference variables and this the developer can get rid of all sorts of cumbersome pointer notations and to be hassle f...
Comments

Dear Santosh Well, the answer is YES and NO :-) NO - From the perspective of Programmers there is no pointers in Java and everything is References YES - All the References are Contextually handled as POINTERS internally by Java (to be specific by JVM) and the programmers no need to worry about...
read more
Dear Santosh Well, the answer is YES and NO :-) NO - From the perspective of Programmers there is no pointers in Java and everything is References YES - All the References are Contextually handled as POINTERS internally by Java (to be specific by JVM) and the programmers no need to worry about the same. In Short POINTERS are ENCAPSULATED as References in Java Language with Regards Shiva read less
Comments

In a way yes, but we do not have special datatypes for pointers.
Comments

no
Comments

Java do not support pointers
Comments

Java does't support pointers because usage of pointer leads illegal access of data i.e pointers show the exact address of the data and using this address any modifications can be made to info stored leading to lack of security, but java is a secured language and prides itself of being robust that's the...
read more
Java does't support pointers because usage of pointer leads illegal access of data i.e pointers show the exact address of the data and using this address any modifications can be made to info stored leading to lack of security, but java is a secured language and prides itself of being robust that's the reason pointers concept was removed from Java. Though there are reference variables in java which act in a similar ways like pointer that is holding the address of an object for example consider class A { } class B { A a= new A(); } here 'a' is a reference variable which stores the address of the object A and the address is not revealed to the user or any other because if u try to access the address of 'a' it returns a fully qualified address i.e. packagename.classname @ some hexadecimal value by doing so the security is preserved and illegal access is avoided. read less
Comments

java is a plateform independent language and internet supported , therefore computers might be hacked or currupt. thats why its not support support pointers.
Comments

View 5 more Answers

Related Questions

Which is the best programming language to learn in today's era? Java, C,C++, Python or any else?
Java is the best language because it is platform indepedent and opensource u can download java software at anywhere
Swati
0 0
5
What are the best books for learning programming languages like C (except let us C), Java, Python, etc.?
you can read "Head First Java",I do read it even now after having 6 years of working experience in Java when I want to refresh some concept. you can also read Core Java, Volume 1 and 2 by Cay S. Horstmann,...
Shashank
0 0
6
Where can I get Python online training?
You can get many institutes in google which are providing online training.
Taranum
why can't we create an object for abstract class? why wait,notify,notifyall methods were in object class but not in thread class?
The Generalized object can be a abstract class in the sense. Consider we have three object Employee, Manager, and Engineer we can establish the relationship like Manager extends Employee , Engineer extends...
Jilani
I would like to apply as java trainer
Good Luck!! Best decision to share knowledge!!!
Ritika

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

Ask a Question

Related Lessons

GIT
In software engineering, software configuration management (SCM) is the task of tracking and controlling changes in the software, part of the larger cross-disciplinary field of configuration management....
R

What Are IT Industries Performance Metrics?
1. Outstanding Expectation: Eligible to get Promotion easily and good salary hike. Always preferrable to go abroad. 2. Exceed Expectation: Can get Promotion as per schedule of company with good salary...

Overview on Auto IT and use in selenium webdriver
AutoIt v3 is a freeware BASIC-like scripting languages designed for automating the windows GUI and general scripting. It used a combination of simulated keystrokes, mouse movements and window/control manipulation...

1.2. Find the largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 2, 3, 4, 5}; int max = arr; for (int i = 1; i < arr.length; i++) { if (arr > max) { max = arr; } } System.out.println("Largest Element: " + max); }}

Access Specifiers â?? Private, Protected, Public, Package-private
Access level modifiers determine whether other classes can use a particular field or invoke a particular method. The following table shows the access to members permitted by each modifier. Access...

Recommended Articles

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 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 >

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 >

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 >

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