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

hat is java
Java is high level programming language. Java is platform independent and robust.
Profile Photo
Narendra
0 1
View Comments8
Please tell me what Object Oriented Programming and Object Based Programming with reallife example..what is the difference between them.?
Hi Ritesh, In order to be a true object oriented programming language, following 4 need to be present… 1) Abstraction - Hiding the implementation details from the user, only the functionality will...
Profile Photo
Ritesh
Need to do java core and advanced certificate. Which books or pdf is need to refer?
Hi Prashanth, At first to be clear there is nothing called Core and Advance certificate, Its OCJP/SCJP Certification. The cost and other details are already mentioned in their respective portals. The...
Profile Photo
Prashanth
Should we learn DBMS and RDBMS without any Java training?
java or i can say any programming language is not required to learn DBMS or RDBMS
Profile Photo
Karthik
0 0
View Comments6

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

Ask a Question

Related Lessons

Java Collection
Collection: The collection provides an architecture like a list where we can store and manipulate the group of items. Through Collections, we can achieve operations such as searching, sorting, insertion,...
V

Vinaykumar D.

0 0
View Comments0

Example of DependsOnMethod in TestNG
public class dependsonM { @Test public void login() { System.out.println("login"); } @Test (dependsOnMethods = {"login"}) public void email() { //Intentionally I am failing this testcase Assert.assertTrue(false);...
S

Sarthak C.

0 0
View Comments0

Class, Object and Methods in JAVA
Lesson-1: Class, Object and Methods of Java can be compared with body, heart and brain. Without these 3 things, Java does not exist. If you Google the above 3 items, you will find many definitions. But...
Profile Photo

Constructor Overloading
public class ConstructorOverloading { public ConstructorOverloading(){ System.out.println("default"); } public ConstructorOverloading(String a){ System.out.println("a"); } public ConstructorOverloading(int...
S

Sarthak C.

0 0
View Comments0

Inheritance In Java
Inheritance: The process of getting properties and behaviors from one class to another class is called inheritance. Properties: Variables Behaviors: Methods The main purpose of the inheritance...
D

Deleted U.

1 0
View Comments0

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