English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i am learning java and im playing lots of java games but i seen there are no pointers???? like no shotting games ( where i need my mouse ) all im using is my keybored and sometimes my mouse for click to move or somethink ( like runescape )

i have not looked it up but is it true there are no pointers in java ot somethink?????? if so WHY!!! :p

cheers

2007-03-10 22:08:14 · 5 answers · asked by lonewolfy92 1 in Computers & Internet Programming & Design

5 answers

There is no pointer in java,java deals with object and reference
because more than 20% bugs reported in any C++ projects are pointers related

2007-03-10 23:41:30 · answer #1 · answered by Anonymous · 0 0

A pointer can point to any arbitrary memory location, if it can't it isn't a pointer. In java this feature isn't allowable because java is designed to be highly secured, portable and stable. Besides, a java applications runs under java virtua invironment which is responsible for memory management for that application. An application may not and need not concern about sheer memory locations in java. That's all for what you do not have a pointer in java.

2007-03-10 23:41:25 · answer #2 · answered by Ajib 1 · 0 0

Pointers are there called references, just as C++ references are pointers without the arithmetic property; this has nothing about mouse and movement. Mouse are integral to today's computing and of course Java can deal with that.

This is just a marketing strategy; similar to an old Microsoft marketing method in very old times.

2007-03-10 22:22:02 · answer #3 · answered by Andy T 7 · 0 0

A pointer refers to a place in memory. they're used to organise documents in memory; coding with regulations is in many situations enormously progressed stuff. Java does no longer help regulations; C does.

2016-11-24 20:02:44 · answer #4 · answered by ? 4 · 0 0

I dont know, but I have just started learning JAVA, just a couple of simple progrmmes at the moment it can be alot to take in sometimes

2007-03-10 22:14:12 · answer #5 · answered by SCOTT B 2 · 0 0

fedest.com, questions and answers