In java, why do we set thread priority, when we know that there is no guarantee by which a thread should be execute?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More J2SE Code Interview Questions

does anyone know the code to display a triangle using a applet?

1 Answers  


For printing a message we use System.out.println in normal programs. We use String msg="text....."; Can't we use String msg=" " in normal programs and System.out.println("........") in applets. Please answer this question?

0 Answers  


inner join,outerjoin,trigger,stored procedure explain with code snippets?

1 Answers   IBM,


is public static void main() work in java?is "String arg[]" needed as argument?

4 Answers   Tech Mahindra,


Can we run Applet in Web browser with security policy files

0 Answers  






how to print a message to console without using main() function?(do not use even static blocks also.)

14 Answers   Google, Zoho,


How can we get the details for printing the employee details at run time using JDBC connectivity? can u provide the coding for that? Its urgent?

2 Answers  


Program to print map of India in java.

2 Answers  


I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{

0 Answers  


what are the other loops except for for,while,do while and until?

0 Answers   Aricent,


what is runtime class?

0 Answers   MAQ,


how to create a (*)pyramid using java codes???

5 Answers   Infosys,


Categories