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...


why not override thread to make a runnable? : Java thread


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

Post New Answer

More Core Java Interview Questions

what is recursion in java

0 Answers   Cap Gemini,


Explain what is Marker interface?

0 Answers   BirlaSoft,


What occurs when an object is constructed?

0 Answers  


What is the purpose of the return statement?

0 Answers  


What is bufferedreader in java?

0 Answers  


How do I print a “?

0 Answers  


What is the meaning of I ++ in java?

0 Answers  


Explain the difference between throw and throws in java?

0 Answers  


What is multithreading and its advantages?

0 Answers  


Why does java does not support multiple inheritance? Explain

0 Answers  


How many bytes is a character?

1 Answers  


public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  


Categories