File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Object Creation of Java Class
Joined: Aug 24, 2012
Jul 04, 2013 11:24:10
For the above
class A, we need to create 5 Obects only
If we try create 6th object it will returns the same reference of previous..
(Means we need to create only 5 Objects)
Author and ninkuma
Joined: Jan 10, 2002
Jul 04, 2013 11:29:56
What thoughts do you have on how to accomplish this?
I assume that this is an assignment or interview question? It'd be a silly thing to do in real code.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Object Creation of Java Class
How we can find that how much string objects has been created?
Constructors are not inherited.
Boone 1.1 Mock # 34
Is there any means to check the number of objects created when a java prgram runs.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015