Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
general knowledge
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
beans
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


difference between C and Java on pointers
Question Posted on 31 Jul 2011

Home >> Java >> Core Java >> difference between C and Java on pointers




(1)Both of these have pointers but java pointers are not same as c pointers.
(2)Pointers in Java are not explicit like in C language.
(3)JVM internally uses pointers and these pointers cannot be directly manipulated.
(4)A pointer is a variable that holds the memory address of data. In Java there are only references which do not hold any memory address but
which are indices in a table and this table has then the real pointer to
the data.
(5)Pointer Arithmetic is not possible with Java pointers.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
what is an object
what is OOAD
difference between c++ and java
what is a transient variable in java
difference between C and Java on pointers






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |