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
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
What class allows you to read objects directly from a stream in java programming?
When should I use singleton?
How to run a JAR file through command prompt?
Does string isempty check for null?
What are the various access specifiers in java?
What is a null check?
What do you understand by the term polymorphism?
What does singleton class mean?
How do you identify if jvm is 32-bit or 64-bit from java program?
How do you identify independent and dependent variables?
What is default locale java?
What are the different data types in java?
Explain about fail safe iterators in java?
What is the transient keyword?