aspose file tools*
The moose likes Programming Diversions and the fly likes Write a program that has only 10 object at any time ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Write a program that has only 10 object at any time ?" Watch "Write a program that has only 10 object at any time ?" New topic
Author

Write a program that has only 10 object at any time ?

ManojKumar Kumar
Greenhorn

Joined: Feb 14, 2012
Posts: 2

Q- Create a program that has only 10 object at any time ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
That's an entirely meaningless question. A JVM that starts up will have allocated thousands of objects before ever executing your code. And if your code allocates just one class library object, that most likely allocates more objects in turn. In other words: you won't know how many objects your code causes to be allocated.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Write a program that has only 10 object at any time ?
 
Similar Threads
how many Objects ?
Putting interfaces into objects
How many objects are created by the following two statements?
Array Data Print Out
"finally block" and "finalize()"