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

Why Java does not support pointers?
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 Pages:
Java pointers
Java pointers   Why Java does not support pointers
Java pointers
Java pointers  Why Java does not support pointers
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
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   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
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
calculate size of array
calculate size of array  Is it possible to calculate the size of array using pointers in Java
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
Objective-c memory management: retain and release
object contains pointers to other objects? Also we will see how does
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 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 Features
does not use the pointers explicitly. It is much harder to write the java... memory pointers explicitly. All the programs in java are run under an area known...Peculiarities of Java Platform Independent: The concept of Write-once-run
java features
the pointers explicitly. It is much harder to write the java programs that can... memory pointers explicitly. All the programs in java are run under an area... Peculiarities of Java ..............   
Java Features
language. Programs are easy to write and debug because java does not use the pointers... features makes the java language robust. Secure: Java does not use memory pointers... Peculiarities of 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 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   
Features of Java
that eliminates memory leaks Java does not have pointers that eliminates... not use memory pointers. Java programs run under sand box. Security... Java is a class based Object Oriented Programming (OOPs) language, which
Java Features
language. Programs are easy to write and debug because java does not use the pointers... not use memory pointers explicitly. All the programs in java are run under... Java Features      
Java: Garbage Collection
Java: Garbage Collection Garbage collection is the process... languages, eg C and C++, Java automates this error-prone process. Manual... is deallocated, but not all pointers to it are removed, the pointers are called
Java Virtual Machine(JVM)
Java Virtual Machine(JVM)       Ques:-What is Java Virtual Machine? Ans:- Java Virtual Machine JVM is the main component of Java architecture and it is the part
Java Programming: Section 11.4
pointers to objects of the same type, structures can be created that are much more... in a binary tree contains two pointers, typically called left and right. In addition to these pointers, of course, the nodes can contain other types of data
Java Data Structures
Java NotesJava Data Structures Term "Collections". The overall term for Java's data structure facilities is Collections, a term is is an alternative.... Three different names would have been better. Use the Java library - Don't
Java Programming Language
Java Programming Language Java is a programming language which was developed... Microsystems. The nucleus of the java platform is the Java programming language. Java codes are compiled into byte code which can run on any computer through
AutoBoxing,==,!=,equals() - Java Interview Questions
() operations on Autoboxing the new feature in java 5.0 . Can any one tell me....  Java language have 2 data types . 1.Primitive type. 2. Reference...) are pointers to these objects, and a special null reference, which refers
Determining Memory Usage in Java - java tutorial
Determining Memory Usage in Java 2001-08-28 The Java Specialists' Newsletter [Issue 029] - Determining Memory Usage in Java Author: Dr. Heinz M. Kabutz... of "The Java(tm) Specialists' Newsletter". I could start off with a witty
Java Programming: Section 9.1
. In Java, once there are no longer any pointers that refer to an object... to the inventors of Java, can be traced to programming languages themselves. Java... problems. Java has eliminated some of these features. Some people complain
Java Programming: Section 12.2
looked at the general properties of collection classes in Java. In this section... into some definite order. As with all of Java's collection classes, the items... in nodes that are linked together with pointers. Both of these classes implement
Java Programming, Solution to Programming Exercise
POSSIBLE SOLUTION to the following exercise from this on-line Java textbook... will take up less space, since a linked list uses extra space to store pointers... (In case you are wondering: Java defines this exception because it also defines
Peculiarities of Java ...
language. Programs are easy to write and debug because java does not use the pointers... features makes the java language robust. Secure: Java does not use memory pointers... Peculiarities of Java ...      
For C++ programmers
. References, not pointers. Java has references, which are pointers... Java NotesFor C++ programmers Java inherited many features from C..., with the extension ".java". Generated object file names will have the class name
java
java  diff bt core java and java
Core Java Interview Question, Interview Question
Core Java Interview Question Page 25  ... interfaces in Java Answer: The null interfaces are marker interfaces...: Does java Support multiple inheritance Answer: Java does not support
java
java  what is java
Resetting ObjectOutputStream - Java Tutorials
Resetting ObjectOutputStream 2004-05-19 The Java Specialists' Newsletter.... Welcome to the 88th edition of The Java(tm) Specialists' Newsletter. Our... - The Java(tm) Specialists (not set in concrete yet): Maximum
What is ODBC - JDBC
are written using Pointers concept in C language. Java does not support pointers...What is ODBC  What is Java ODBC and JDBC?   Method of type one driver is Java prog
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  is java open source

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.