Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


why java does not contain pointers?

Answers were Sorted based on User's Feedback



why java does not contain pointers? ..

Answer / bharathi

Java has no pointers but it has reference. A reference is an
abstract identifier for an object and it tags every object
with a name in the jvm so that programmer can refer to it.
And it is completely hidden from the programmer in any case.

Is This Answer Correct ?    17 Yes 1 No

why java does not contain pointers? ..

Answer / pratiksha

pointers are dangerous and lead to memory leaks, memory
corruption, invalid memory access, e.g. from uninitialized
and improperly initialized variables, indexing out of
bounds, and many bugs due to pointer arithmetic.
References, and other features related to these, avoid all
these problems.

Is This Answer Correct ?    12 Yes 3 No

why java does not contain pointers? ..

Answer / hariprasad

I agree to the above answers and also, the main reason is;
by using pointers we can violate the system security. This
is another reason why pointers are not available directly
from java.

Is This Answer Correct ?    4 Yes 2 No

why java does not contain pointers? ..

Answer / diapk kumar sinha

Java has no need to contain pointers because, Because Java
is developed for fully system independent language, so in
the presence of pointer it may not perform like fully system
independent language. And the main thought is that removing
pointer is for security purpose and make it fully system
independent language to work at any platform.

Is This Answer Correct ?    2 Yes 0 No

why java does not contain pointers? ..

Answer / nisha

Because java does't allow pass by reference for parameter passing

Is This Answer Correct ?    3 Yes 2 No

why java does not contain pointers? ..

Answer / p.asifbasha

java has a multi program can access simple allocation of memory ..so no need of use in to the pointres ..but in case we can use the pointers in java the allocation of memory is more needed




thank u????

Is This Answer Correct ?    1 Yes 0 No

why java does not contain pointers? ..

Answer / siva athota

Java has no pointers but it has reference. A reference is an
abstract identifier for an object and it tags every
object.pointer leads to confusion for a programmer,pointer
crash the program easily..finally what i am saying that java
does not contain ponters

Is This Answer Correct ?    0 Yes 0 No

why java does not contain pointers? ..

Answer / varma

java programming environment does not support pointers in
other words java language is free from pointers concept.So
that we can get less application development time and less
application execution time.because of magic of byte code.

Is This Answer Correct ?    0 Yes 0 No

why java does not contain pointers? ..

Answer / rameshreddy

pointer means it is something pointes to other things. or
creating memory allocation for all the things(
class,methods,variables). In java creating memory allocation
is possible through java jvm only.

Is This Answer Correct ?    0 Yes 0 No

why java does not contain pointers? ..

Answer / sdn

i agree with first and tenth answer

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain inner classes ?

0 Answers  


How many bits is a string in java?

0 Answers  


what are the purposes of native, transiant key words?

2 Answers  


How is a structure different from array ?

0 Answers   Amdocs,


How can a gui component handle its own events?

0 Answers  


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

0 Answers  


Difference String and String Buffer

4 Answers  


which method is used to know the status of the Thread?

9 Answers   Honeywell,


In Java list the methods that can be overridden?

0 Answers   Accenture,


How do you implement polymorphism in our day to day life?

0 Answers   Cap Gemini,


Have you worked on bits programming? examples?What is bit? How many bits are there in the byte?

1 Answers  


What is compile time polymorphism?

20 Answers   CTS, Elementus Technologies, Oracle,


Categories