java - parameter constructor for class.forName in j2me -


how create parameter constructor class.forname in j2me

sample code:

class {    a()       {       }    a(int a)       {       } }  //here code call constructor    object o = class.forname("org.java.datamembers.a").newinstance(); 

how call parameter constructor in j2me..plz help

pretty sure answer can't. if it's class in charge of, you'll need create parameterless constructor... if not, you'll need find way want.


Comments

Popular posts from this blog

mysql - How to insert just year and month into date field? -

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -