GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 727 of 923    Print  
Why Concept Of Pointer is not there in java

  
Total Answers and Comments: 3 Last Update: January 18, 2006     Asked by: sushil kumar(nagpur) 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 20, 2005 04:10:42   #1  
Raghavendra        

RE: Why Concept Of Pointer is not there in java
Pointers are not there mainly to avoid security threats.  As JVM restricts access to the file system, but thru pointers you can access any memory location.  This is the main reason, other is to avoid the complexity.
 
Is this answer useful? Yes | No
January 16, 2006 11:35:47   #2  
anjani        

RE: Why Concept Of Pointer is not there in java

   even in the 'c' language we dont use the pointers,what is the major difference between them ,insted of them what we use in t he java we have any alternative in this.

  what is the use of pointers what are the demerits of the pointer using


 
Is this answer useful? Yes | No
January 18, 2006 00:21:20   #3  
Srikanth        

RE: Why Concept Of Pointer is not there in java
pointer are used in c as a new memory is allocate every time a variable are method is created so we use call by refference (&name) and (*name will use the address location), in java memory management is taken care by GC.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape