how can we import the user defined package without classpath?



how can we import the user defined package without classpath? ..

Answer / anand

create jar file for your class and place under jre ext
folder

Is This Answer Correct ?    12 Yes 5 No

Post New Answer

More Core Java Interview Questions

Can we override constructors in java?

0 Answers  


Is java code slower than native code?

0 Answers  


What is user defined exception?

4 Answers  


Hi, This is ravi i have a question like this i have string "UNDERSTAND" now i want to count the letters how many times it occures.i.e from the above string the out put should be like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1. how can i achieve this Thnaks in advance for your response ..

7 Answers  


How many types of JVM's (OR) Name of the JVM's which are used in Tomcat & Weblogic servers ?

1 Answers   TCS,






Distinguish method overloading and overriding

2 Answers   Tech Mahindra,


How many bits are in a sentence?

0 Answers  


what is predefined function in java?

0 Answers  


What is the difference between a Window and a Frame?

6 Answers   Infosys, ProKarma,


what is Abstract DataType?

1 Answers  


What is the static import?

0 Answers  


How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)

3 Answers   ProdEx Technologies,


Categories