how to call one program .class file in another program

Answer Posted / surender

By creating instance of the .class file we can call it from any other program

Is This Answer Correct ?    27 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we run a java program without making any object?

541


What is static block?

584


Can a private method be declared as static?

575


What is tostring () method?

538


What is the difference between stringbuffer and stringbuilder class?

561






What is the scope or life time of instance variables?

652


What is the difference between an interface and an abstract class?

532


How static variable work in java?

591


Why is stringbuffer called mutable?

561


What does flagged out mean?

566


What are the important features of Java 11 release?

576


Write a program to check string is palindrome without using loop?

561


What is import java util arraylist?

650


What does string [] args mean?

536


How do you check if a number is a perfect square?

508