When to use runnable interface vs thread class in java?


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

Post New Answer

More Core Java Interview Questions

What is the difference between the ">>" and " >>>" operators in java?

0 Answers  


what is features of jdk 1.5?

2 Answers   Accenture, Satyam, TCS,


Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }

3 Answers  


How can I become a good programmer?

0 Answers  


How the threads are synchronized?

2 Answers   BMC, CTS,






What are design patterns and please explain?

0 Answers  


Is space a string in java?

0 Answers  


What is command line used for?

0 Answers  


What code optimizations techniques you follow in general practice?

2 Answers   Accenture, TCS, Wipro,


What does three dots mean in java?

0 Answers  


Explain the importance of throwable class and its methods?

0 Answers  


write a simple program inheritance?

2 Answers   Polaris,


Categories