Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


which one the better thread emplemented thread or extended ?

Answers were Sorted based on User's Feedback



which one the better thread emplemented thread or extended ?..

Answer / ravikiran

implementing runnable interface is a bettr practice

Is This Answer Correct ?    3 Yes 0 No

which one the better thread emplemented thread or extended ?..

Answer / anand

its better to use runnable
interface....
using this interface
multithreading is became
possible in java

Is This Answer Correct ?    1 Yes 0 No

which one the better thread emplemented thread or extended ?..

Answer / arun

thread implements is the better one no need of creating a
thread object(thread t =new thread()),we just write t.run()

Is This Answer Correct ?    0 Yes 3 No

which one the better thread emplemented thread or extended ?..

Answer / guest

sdf

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Core Java Interview Questions

can we create object for static class in java

14 Answers   IAP Company, IBM, Marlabs, mPortal, TCS,


What is deserialization?

0 Answers  


Features of Java?

4 Answers  


what is difference between length and length()?

8 Answers  


Is there any way to find whether software installed in the system is registered by just providing the .exe file? I have tried the following code but its just displaying the directory structure in the registry. Here the code : package com.msi.intaller; import java.util.Iterator; import ca.beq.util.win32.registry.RegistryKey; import ca.beq.util.win32.registry.RootKey; public class RegistryFinder { public static void main(String... args) throws Exception { RegistryKey.initialize(RegistryFinder.class.getResource("jRe gistryKey.dll").getFile()); RegistryKey key = new RegistryKey(RootKey.HKLM, "Software\\ODBC"); for (Iterator<RegistryKey> subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

0 Answers   Google,


Can we define constructor in inner class?

0 Answers  


What are constructors in java?

0 Answers  


How to connect to a remote database using Applet?

0 Answers  


How is final different from finally and finalize?

0 Answers  


strings in java are objects.why?

2 Answers  


I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?

3 Answers   KPIT,


Which class is extended by all other classes?

4 Answers  


Categories