aspose file tools
The moose likes Java in General and the fly likes regarding object creation at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "regarding object creation at runtime" Watch "regarding object creation at runtime" New topic

regarding object creation at runtime

Saral Saxena
Ranch Hand

Joined: Apr 22, 2011
Posts: 202

Hi ,

Is this scenario is possible that I have a java class and its object is created by java applet at run time means that when I call the applet it will be mapped by the java class and its object is get created at runtime..any framework that support this kind of requirement..?
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 3677

Hi Saral. Could you try to rephrase your question? I have no idea what problem you are facing.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347

i also fail to understand your problem. in any applet that has more than one class the other classes get created when you start the applet.

Visit my download page
Paul Clapham

Joined: Oct 14, 2005
Posts: 19357

The title is vacuous, because objects only get created at run-time. There is no other time at which objects are created.

And generally you don't need a framework to create an object. The "new" keyword should suffice in most cases. But I'm sure you already knew about the "new" keyword, so perhaps you could explain your mysterious requirement for which it isn't good enough?
I agree. Here's the link:
subject: regarding object creation at runtime