[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Re: [linux-india-programmers] C++ question




Mahesh wrote:

>  You can violate C++ concepts and even go ahead and access private
> variables
> and
> private virtual functions and as deepak rightly stated this is probably one
> of the reasons
> why java has no pointers. 


Okay, Java has no pointers, but even in Java, if you are determined
enough you can access the private members! Serialize the objects and
read and interpret their state... you'll be able to read all private
members that way! unless, youve made them transient...

(Just for a little mirch masala...)
Rohit
-- 
A critic is a bundle of biases held loosely together by a sense of
taste.
		-- Whitney Balliett