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 we r not use pointers in corejava?

Answers were Sorted based on User's Feedback



why we r not use pointers in corejava?..

Answer / arun

First you need to understand the concept of Pointer.
Pointer in C++, gives as reference to object from outside.
if we provide same thing in java, the concept of
Encapsulation will be violate. so java doesn't provide this
feature till 6.0 version. Recently Java added this feature
in java7.0. but they gave different name Clouser, which
give you pointer to function, as Callback in C...

Is This Answer Correct ?    15 Yes 5 No

why we r not use pointers in corejava?..

Answer / javac

Internally java is based on pointers only.Sun People have
implemented the java utilites using pointer concepts but
they have restricted the developers to use the pointers.so
we cannot use pointers in java.

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More Core Java Interview Questions

What are different exception types exceptions available in java ?

0 Answers  


Is vector ordered in java?

0 Answers  


class a extends b { } class b extends a { } why java doesn't support cyclic pls explain me with example

3 Answers   Wipro,


how do I create a runnable with inheritance? : Java thread

0 Answers  


What is concurrent hashmap and its features?

0 Answers  


What is defined as false sharing in the context of multithreading?

0 Answers  


how to print the below in java? * * * * * * * * *

2 Answers  


which one the better thread emplemented thread or extended ?

4 Answers   Fidelity,


What is thread priority?

1 Answers   Tech Mahindra,


explain copyonwritearraylist and when do we use copyonwritearraylist?

0 Answers  


What is the benefit of using enum to declare a constant?

0 Answers   Aspire, Infogain,


What do you mean by hashing?

0 Answers   Amazon,


Categories