tag:blogger.com,1999:blog-35897879.post8510816050163641716..comments2023-11-02T21:16:09.308+11:00Comments on Java-Success Blog: 30+ Core Java multithreading interview questions and answersAnonymoushttp://www.blogger.com/profile/00869496028596976417noreply@blogger.comBlogger41125tag:blogger.com,1999:blog-35897879.post-45483913093675190912014-07-30T20:30:28.728+10:002014-07-30T20:30:28.728+10:00Thanks for sharing i got lot of information it wil...Thanks for sharing i got lot of information it will be very helpful in my <a href="http://www.ask4success.net" rel="nofollow">success</a>.Anonymoushttps://www.blogger.com/profile/02009513713165345107noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-57981566735122720762014-06-21T17:43:08.695+10:002014-06-21T17:43:08.695+10:00Predominantly online stores.Predominantly online stores.Anonymoushttps://www.blogger.com/profile/00869496028596976417noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-57382286008924378642014-06-21T16:42:37.879+10:002014-06-21T16:42:37.879+10:00Arulkumaran , does your books available in book sh...Arulkumaran , does your books available in book shops or it is available only in online shopping ?lonely ....but still standinghttps://www.blogger.com/profile/12382841528250087249noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-51187933680382515702014-03-06T03:28:24.139+11:002014-03-06T03:28:24.139+11:00One question. Can you please change the line"...One question. Can you please change the line" changes from running state to waiting/sleeping state.<br /><br />The method wait(1000), causes the current thread to sleep up to one second."<br />There are two mistakes over there. For junior developers it might create wrong impression. Anonymoushttps://www.blogger.com/profile/07023232929671397250noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-41218114014329960342014-02-07T10:41:45.523+11:002014-02-07T10:41:45.523+11:00good sample. interviewers seems just to think que...good sample. interviewers seems just to think questions when they are on the table with you. thats why they usually think of the most common questions on core java, etcbeginnerhttp://grails.asia/noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-89300600844155040042013-10-02T17:09:44.459+10:002013-10-02T17:09:44.459+10:00Nice Article, please correct the following, notify...Nice Article, please correct the following, notify or notifyall cant be used on sleep<br /><br />The method wait(1000), causes the current thread to sleep up to one second. A thread could sleep less than 1 second if it receives the notify( ) or notifyAll( ) method call. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-35897879.post-79323809517075420122013-08-15T15:30:38.644+10:002013-08-15T15:30:38.644+10:00Java is a high-level programming language original...Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.In interviews, normally questions start with some basic concept of the subject and later they continue based on further discussion.java certificationhttp://www.benchfolks.org/java-j2ee-trainingnoreply@blogger.comtag:blogger.com,1999:blog-35897879.post-10921833606345483992013-04-07T14:29:20.786+10:002013-04-07T14:29:20.786+10:00Hello Arun,
Excellent and easy to understand expl...Hello Arun,<br /><br />Excellent and easy to understand explanation. <br />Could you include usage of the synchronized keyword ....<br />For example a java class (implementing runnable) having 3 methods .... <br />Method ONE: public void m1()<br />Method TWO: public void static m2()<br />Method THREE: public void m3() ... with a synchronized block within.<br /><br />How will this class behave ...Java sonhttps://www.blogger.com/profile/17594226541116004795noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-87100094992855834842013-04-05T19:57:23.906+11:002013-04-05T19:57:23.906+11:00Could not locate any information about the keyword...Could not locate any information about the keyword: "volatile"<br /><br />Is it explained elsewhere?Java sonhttps://www.blogger.com/profile/17594226541116004795noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-26216520516386696792013-03-16T22:38:32.938+11:002013-03-16T22:38:32.938+11:00Write the sample code, and see what happens.Write the sample code, and see what happens.Anonymoushttps://www.blogger.com/profile/00869496028596976417noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-63391797934785108652013-03-13T15:00:05.073+11:002013-03-13T15:00:05.073+11:00Hi Arulkumaran,
One conceptual doubt on Sleep met...Hi Arulkumaran, <br />One conceptual doubt on Sleep method and Thread states.<br />Consider the situation:<br /><br />synchronized(LOCK) {<br /> Thread.sleep(1000); // LOCK is held<br />}<br /><br />Now as we all know that lock will not be released by the current running thread. <br />Now as per state diagram, if current thread has called sleep method, it will move to Sleeping state and then Sumithttps://www.blogger.com/profile/08506631015316230288noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-52352588616084740472013-01-28T02:10:51.569+11:002013-01-28T02:10:51.569+11:00Explain different ways of creating a thread?
A. Th...Explain different ways of creating a thread?<br />A. Threads can be used by either<br /><br /> Extending the Thread class.<br /> Implementing the Runnable interface.<br />Implementing the callable interfaceAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35897879.post-47269420264396746612012-10-20T18:49:12.533+11:002012-10-20T18:49:12.533+11:00For example, try the following URLs to get start...For example, try the following URLs to get started --> <br /><br />http://javarevisited.blogspot.com.au/2011/04/garbage-collection-in-java.html <br /><br />http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html<br /><br />http://www.javaworld.com/javaworld/jw-08-1996/jw-08-gc.html<br /><br /><br />http://www.vogella.com/articles/JavaPerformance/article.htmlAnonymoushttps://www.blogger.com/profile/00869496028596976417noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-86241732005723269452012-10-20T17:53:15.596+11:002012-10-20T17:53:15.596+11:00The book does not cover the 2 topics you had menti...The book does not cover the 2 topics you had mentioned. Google for it and you should get some good articles on it.Anonymoushttps://www.blogger.com/profile/00869496028596976417noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-6328814037072151832012-10-20T13:43:12.776+11:002012-10-20T13:43:12.776+11:00Hi Arulkumaran, I want to learn Hard Core Java con...Hi Arulkumaran, I want to learn Hard Core Java concept like Heap memory allocation, garbage collection etc. If your book "Core Java Career Essential" cover this topic as well. If no, can you suggest me some good books or site.<br /><br />DeepakAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35897879.post-84890913073404366012012-10-08T18:00:09.311+11:002012-10-08T18:00:09.311+11:00In Java, a class can extend only one other class. ...In Java, a class can extend only one other class. Multiple inheritance is not allowed. If you use extends Thread, then that class can't extend any other classes. But if you use implements Runnable, then it can extend some other class if required. A Java class can implement multiple interfaces, but can extend only one other class.Anonymoushttps://www.blogger.com/profile/00869496028596976417noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-80516727340812679912012-10-08T17:51:53.623+11:002012-10-08T17:51:53.623+11:00Hi Arul,
I have a question related to :
what is t...Hi Arul,<br /><br />I have a question related to :<br />what is the difference between and Extending Thread and implementing Runnable interface and when to use.<br />Can u explain in simple way and in interview prospective I was confused.<br /><br />Please Explain me.sureshhttps://www.blogger.com/profile/16612176699040469403noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-80100562721035018642012-10-06T00:40:53.682+10:002012-10-06T00:40:53.682+10:00This was really interesting information. Thanks to...This was really interesting information. Thanks to share with us.<br /><br />For shape up your career visit<br /><a href="http://www.buildcareer.in/Booming-Careers/" rel="nofollow">Career</a><br /><a href="http://www.buildcareer.in/Booming-Careers/" rel="nofollow">Careers</a>Anonymoushttps://www.blogger.com/profile/10871800110228460134noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-88629909998303671332012-09-05T18:58:52.197+10:002012-09-05T18:58:52.197+10:00Very well explained. Much appreciate the effort.Very well explained. Much appreciate the effort.nkhttps://www.blogger.com/profile/06641004926229524972noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-32649507667777195252012-08-21T04:17:11.899+10:002012-08-21T04:17:11.899+10:00Thanks Arun!Thanks Arun!kavihttps://www.blogger.com/profile/00500233775974467889noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-50411465720865652472012-08-16T10:28:02.264+10:002012-08-16T10:28:02.264+10:00I have fixed that Kavi. Thanks for pointing that o...I have fixed that Kavi. Thanks for pointing that out.Anonymoushttps://www.blogger.com/profile/00869496028596976417noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-39054958367040473402012-08-16T02:31:57.126+10:002012-08-16T02:31:57.126+10:00As per state chart diagram, it shows that 'Blo...As per state chart diagram, it shows that 'Blocked or synchronized' state will directly move to running state. But it is not quite matching with description. kavihttps://www.blogger.com/profile/00500233775974467889noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-32166346928132683352012-07-18T19:20:52.132+10:002012-07-18T19:20:52.132+10:00Not sure what you mean by project details.Not sure what you mean by project details.Anonymoushttps://www.blogger.com/profile/00869496028596976417noreply@blogger.comtag:blogger.com,1999:blog-35897879.post-83089921250817782682012-07-18T18:09:57.684+10:002012-07-18T18:09:57.684+10:00Hi to all i am Rayudu...............I need Project...Hi to all i am Rayudu...............I need Project DetailsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-35897879.post-30248121427451888402012-06-29T17:49:22.898+10:002012-06-29T17:49:22.898+10:00if you click on the link below, there are more adv...if you click on the link below, there are more advanced questions and answersAnonymoushttps://www.blogger.com/profile/00869496028596976417noreply@blogger.com