Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to call one program .class file in another program

Answer Posted / jason

for the above class "Hello" ...
creating its '.class' file in another class is..

class DemoHello
{ p s v m(...)
{
Hello h=new Hello();
Class c=h.getClass();
sop(c);
}
}

=================
o/p:
class Hello

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3638


What class allows you to read objects directly from a stream in java programming?

1049


When should I use singleton?

1008


How to run a JAR file through command prompt?

1252


Does string isempty check for null?

1000


What are the various access specifiers in java?

989


What is a null check?

979


What do you understand by the term polymorphism?

1065


What does singleton class mean?

951


How do you identify if jvm is 32-bit or 64-bit from java program?

951


How do you identify independent and dependent variables?

994


What is default locale java?

1092


What are the different data types in java?

984


Explain about fail safe iterators in java?

1008


What is the transient keyword?

2136