Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 09-12-06, 06:33 PM   #1 (permalink)
Junior Member
 
Join Date: Dec 2006
Age: 25
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 swathireddy is on a distinguished road
Smile Why Java don't have pointers?

Hai Friends!!!!
Can you please explain why java doesn't support pointerts?
swathireddy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-06, 10:27 AM   #2 (permalink)
Super Moderator
 
sk_kireeti's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117
Thanked 241 Times in 198 Posts
Thanks: 117
Thanked 241 Times in 198 Posts
Blog Entries: 4
Rep Power: 51 sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute
Re: pointers

Swathireddy,

There are 2 major reasons for it.
1. Java is designed to develop GuI application software and not to write driver programs.
2. Handling pointers is different in different platforms. And mostly the memory locations where OS stores its critical information (used to write drivers) varies from OS to OS highly. This will make the programs OS dependent violating the actual intension of Sun which is to make configuration independent system.

Along with these, Java architects felt that handling pointers is very difficult and it does not balance the advantage they give. Thats why they removed pointers from Java.

Thanks,
Krishna
sk_kireeti is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-12-06, 10:32 AM   #3 (permalink)
Super Moderator
 
sk_kireeti's Avatar
 
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117
Thanked 241 Times in 198 Posts
Thanks: 117
Thanked 241 Times in 198 Posts
Blog Entries: 4
Rep Power: 51 sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute
Re: Why Java don't have pointers?

Refer the old posts for some more discussion earlier on the same issue...

Why we don't have pointers in java?
Java: Pass-by-value Vs Pass-by-reference

Thanks,
Krishna

Last edited by sk_kireeti; 11-12-06 at 10:36 AM.
sk_kireeti is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
JAVA WEB SITES yathish JAVA Technologies 2 20-11-08 12:11 AM
JAVA Downloads yathish JAVA Technologies 2 22-01-07 01:37 PM
java e-books Pink JAVA Technologies 1 22-11-06 02:11 PM
java notes naga JAVA Technologies 5 22-09-06 10:30 PM


All times are GMT +6.5. The time now is 02:38 AM.





Search Engine Optimization by vBSEO 3.1.0