tag:blogger.com,1999:blog-7795153922499567758.post3266848216476136635..comments2023-11-02T13:58:59.260+05:30Comments on Software Engineer Interview Experience: British Telecom Written Test - Aptitude + JavaBlaze Starhttp://www.blogger.com/profile/07752172928967657762noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-7795153922499567758.post-12585191654605754682017-04-14T07:31:33.691+05:302017-04-14T07:31:33.691+05:30Thanks AbhijitThanks AbhijitAnonymoushttps://www.blogger.com/profile/11197806510815719919noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-75251594275700491042017-03-06T17:14:08.746+05:302017-03-06T17:14:08.746+05:30Can you please post more aptitude questions, if yo...Can you please post more aptitude questions, if you remember.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-76096040128990699692017-03-06T17:13:23.331+05:302017-03-06T17:13:23.331+05:30Can you please post more aptitude questions, if yo...Can you please post more aptitude questions, if you remember.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-66010371621861840412017-02-13T23:16:55.903+05:302017-02-13T23:16:55.903+05:30very helpfull.. thanksvery helpfull.. thanksAnonymoushttps://www.blogger.com/profile/09069485314487591575noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-59273250578884647162017-02-01T07:32:22.798+05:302017-02-01T07:32:22.798+05:30Thanks for the questions helped me a lot...Thanks for the questions helped me a lot...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-26672479109166539362017-01-07T16:30:00.203+05:302017-01-07T16:30:00.203+05:30helpful thanx brohelpful thanx broAnonymoushttps://www.blogger.com/profile/08662409625578550852noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-40502562735912358302016-12-14T22:20:35.135+05:302016-12-14T22:20:35.135+05:30I think u tried by using Integer or String instead...I think u tried by using Integer or String instead of node. Answer came 5 when i used a nested node class . <br /><br />Here is the code <br /> :- <br /><br />package exp;<br /><br />import java.util.HashSet;<br />import java.util.Set;<br /><br />public class Main {<br /><br /> private static class node{<br /> <br /> private int i ; <br /> public node(int i ){<br /> this.i = i ; <br /> }<br /> }<br /> <br /> public static void main(String[] args) {<br /> Set nodeSet = new HashSet();<br /> nodeSet.add(new node(10));<br /> nodeSet.add(new node(20));<br /> nodeSet.add(new node(30));<br /> nodeSet.add(new node(10));<br /> nodeSet.add(new node(20)); //<br /> <br /> System.out.println(nodeSet.size()); <br /> }<br /> <br /><br />}<br />rjhttps://www.blogger.com/profile/04363776372191434341noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-32519466462582735442016-12-07T22:34:04.340+05:302016-12-07T22:34:04.340+05:30In overloading, method resolution takes care by co...In overloading, method resolution takes care by compiler based on reference type.<br />Since it's a overloading method call, the Tyre class(Parent class) method will be called here.<br /><br />P.S. In Overriding, method resolution takes care by JVM based on runtime object which is nothing but Radial Tyre(child class).<br /> but in our example it's overloading not the overriding.Anonymoushttps://www.blogger.com/profile/15474539970355155888noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-87444630591714158972016-12-07T22:31:16.795+05:302016-12-07T22:31:16.795+05:30This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/15474539970355155888noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-43129839383749784282016-11-19T07:55:33.755+05:302016-11-19T07:55:33.755+05:30Can someone pls explain the third ques in briefCan someone pls explain the third ques in briefAnonymoushttps://www.blogger.com/profile/11197806510815719919noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-19119565791193637872016-08-23T17:33:20.072+05:302016-08-23T17:33:20.072+05:30This comment has been removed by the author.royhttps://www.blogger.com/profile/06802996293711183159noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-77895094025086680622016-07-20T21:28:29.749+05:302016-07-20T21:28:29.749+05:30Very help ful. these snippets are.Thanks man.Very help ful. these snippets are.Thanks man.Anonymoushttps://www.blogger.com/profile/12232080471919035493noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-27474329999364986902016-07-19T22:00:27.180+05:302016-07-19T22:00:27.180+05:30If you look closely..
their is NO duplication hap...If you look closely..<br /><br />their is NO duplication happening while creating object of class "Node" using new keyword. Every time a separate object is getting created. Therefore answer:5Anonymoushttps://www.blogger.com/profile/12232080471919035493noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-86482431882266418972016-07-08T16:24:06.200+05:302016-07-08T16:24:06.200+05:30could you post more questions if possiblecould you post more questions if possibleAnonymoushttps://www.blogger.com/profile/05505448498753970414noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-47992660234053329552016-05-22T13:19:51.910+05:302016-05-22T13:19:51.910+05:30,,,,Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-33854912230271039412016-05-12T03:22:06.426+05:302016-05-12T03:22:06.426+05:30Why think, when you can try. I tried, the answer c...Why think, when you can try. I tried, the answer came to option 2, as Oracle has ensured that you do not fool the add method into increasing size, even if you are adding duplicate values gauravnoreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-42734825566679296262016-04-23T21:53:34.658+05:302016-04-23T21:53:34.658+05:30thanks, corrected..!!thanks, corrected..!!Blaze Starhttps://www.blogger.com/profile/07752172928967657762noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-30910160888274366172016-04-23T21:53:05.977+05:302016-04-23T21:53:05.977+05:30option 1 is the correct answer, it will be option ...option 1 is the correct answer, it will be option 2 if you override hashcode and equalsBlaze Starhttps://www.blogger.com/profile/07752172928967657762noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-4254161777787832192016-03-22T21:17:52.007+05:302016-03-22T21:17:52.007+05:30Answer to the fifth question is option 2.Answer to the fifth question is option 2.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-55300545517838240082016-03-18T19:21:49.321+05:302016-03-18T19:21:49.321+05:30sorry , it will not take duplicate values .sorry , it will not take duplicate values .TheCrazyGuyhttps://www.blogger.com/profile/08362969629320945807noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-29033751185520106132016-03-18T19:21:14.635+05:302016-03-18T19:21:14.635+05:30answer to que5 is wrong , FOr Hashset the ans will...answer to que5 is wrong , FOr Hashset the ans will be 3 , it will take duplicate values.TheCrazyGuyhttps://www.blogger.com/profile/08362969629320945807noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-49642984434171665402016-01-28T17:35:09.638+05:302016-01-28T17:35:09.638+05:30Answer to question no.4 is wrong
It should be opti...Answer to question no.4 is wrong<br />It should be option 4. Compile Time error at line 1 and 3Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-44248630715273481022016-01-08T01:34:54.818+05:302016-01-08T01:34:54.818+05:30Hi Anshul have u attended the test please let me k...Hi Anshul have u attended the test please let me know the type of question .Anonymoushttps://www.blogger.com/profile/07982484251011627433noreply@blogger.comtag:blogger.com,1999:blog-7795153922499567758.post-72629330239850315642016-01-04T20:42:15.076+05:302016-01-04T20:42:15.076+05:30thanks for the questions
thanks for the questions<br />Anonymoushttps://www.blogger.com/profile/07273542621370142523noreply@blogger.com