Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


samar
Java pointers
1 Answer(s)      3 years and 6 months ago
Posted in : Java Interview Questions


Why Java does not support pointers?

Advertisement
View Answers

October 28, 2010 at 5:23 PM


Hi,

Here is the answer.

Because pointers are unsafe. Java uses reference types to hide pointers and programmers feel easier to deal with reference types without pointers.

Thanks.



Related Tutorials/Questions & Answers:
Java pointers
Java pointers   Why Java does not support pointers
Java pointers
Java pointers  Why Java does not support pointers
Advertisements
pointers in java - Java Beginners
pointers in java  Why pointers concept are not used in java
Pointers - Java Interview Questions
Pointers  Why Pointer are not used in JAVA?  There is no need to store the address of the another variable in java So that pointers are not used in java
java pointers - Java Beginners
java pointers  "There is no need to store the address of the another variable in java So that pointers are not used in java."how it is different... the rule of OOP. so java does not support pointer.so that direct access to any
What is a pointer and does Java support pointers?
What is a pointer and does Java support pointers?   Hi, What is a pointer and does Java support pointers? Thanks   Hi, Pointer... to memory leaks and reliability issues hence Java doesn't support the usage of pointers
Array of String using Pointers
Array of String using Pointers   ... of string using pointers in C. The declaration of an array of character pointers.... In the example below, A two element array of character pointers where each element
java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
C array of pointers
C array of pointers       In this section, you will learn how to create array of pointers.... The values you assign to the pointers are memory addresses of other variables (or other
java - Java Interview Questions
Programming language. 4)Java does not allocate direct pointers to memory...java  what is the deffirence between java language and other language ?   Hi Friend, Differences: 1)Java is more secure than any other
Java Variables - Java Beginners
Java Variables  Hi, I had a small doubt. What are Object Reference variables in java..What actually they do.. And What actually an Object Reference variable will contain? As there are no pointers in Java, what are object
Java Variables - Java Beginners
Java Variables  Hi, I had a small doubt. What are Object Reference variables in java..What actually they do.. And What actually an Object Reference variable will contain? As there are no pointers in Java, what are object
Java jdbc class.forName error - JDBC
Java jdbc class.forName error  HI: how is possible that my JDBC connection to an MYSQL instance works inside the IDE (Netbeans) and not when I start it from the jar file? Could some please give some pointers please? Higly
Features of Java
is easy to write and understand. Java programmer doesn't have to work with pointers...Features of Java: Java is one of the most popular language in the field... programming is its large number of important and robust features. Java can be used
Java vs C
pointers are used while in java references are used...Java vs. C Language In this section we will compare Java and C Programming... business problem. Java is object oriented, platform independent programming language
Difference between C++ and Java
runtime optimization C++ uses pointers while java doesn't have pointers... Java and C++ are Object Oriented Programming (OOPs) language. Java... complex when compared to Java . C++ was designed for infrastructure
Java vs. C
they must always be dynamically allocated. However, Java arrays are not just pointers...;) because Java uses something called references instead of pointers. References are really pointers to objects, but are simpler, and safer, than pointers. Java
Java: Weaknesses
Java: Weaknesses Altho Java is arguably the best overall programming... Elliotte Rusty Harold, author of several good Java books, described one of Java's main problems as "Java's insanely
Java Interview Questions - Page 1
pointers? Answer: Because pointers are unsafe. Java uses... types without pointers. This is why Java and C# shine... Java Interview Questions - Page 1   
java
java  diff bt core java and java
java
java  what is java
Objective-c memory management: retain and release
object contains pointers to other objects? Also we will see how does
JAVA
JAVA  how the name came for java language as "JAVA
java
java   why iterator in java if we for loop
java
java  explain technologies are used in java now days and structure java
java
java  different between java & core java
Java
Java   Whether Java is pure object oriented Language
java
java  is java open source
java
java  what is java reflection
java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
Java for C Developers
, pointers are a disreputable source of bugs. Classes and arrays in Java... Java for C Developers          Some times ago, many people believed that Java was slower than C
java
java  Does java allows multiline comments
java
java  give a simple example for inheritance in java
java
java  give a simple example for inheritance in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  what are JAVA applications development tools
Java
Java   Whether Java is Programming Language or it is SOftware
java
java  explain object oriented concept in java
java
java   difference between class and interface
Java
Java  how to draw class diagrams in java
java
java   What is ?static? keyword
java
java  RARP implementation using java socket
java
java  sample code for RARP using java
Java
Java  how to do java in command prompt
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  Write a java code to print "ABABBABCABABBA
java
java  write a program in java to acess the email
Advertisements
 

 

 

DMCA.com