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
What is better- service oriented or batch oriented solutions?
Why java is used everywhere?
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
What are the different data types in java?
What are the advantages of java?
What is the basic of java?
What is empty string literal in java?
Can we convert stringbuilder to string in java?
Can we create object of static class?
Can we override protected method in java?
Does java have a compiler?
What is the difference between @before and @beforeclass annotation?
What is an inner class in java?
Variable of the boolean type is automatically initialized as?