String s = "Hey"; s = s.concat(" Guys") sop(s)
Lead Java Developer Interview Questions
6,678 lead java developer interview questions shared by candidates
questions based on your test, problem solving approach, java multithreading, query optimization etc.
Implement a method 'find' that will find the starting index (zero based) where the second list occurs as a sub-list in the first list. It should return -1 if the sub-list cannot be found. Arguments are always given, not empty. Sample Input 1 list1 = (1, 2, 3) list2 = (2, 3) Sample Output 1 1 Explanation As second list (2, 3) is sub-list in first list (1, 2, 3) at index 1 Sample Input 2 list1 = (1, 2, 3) list2 = (3, 2) Sample Output 2 -1
String,String buffer,String builder difference. Can u write your own immutable class n how? hashmap implementation and hashcode(),equals() method he asked me to write 2 logical testing programs with reduced complexity( 0,1,1,2,4,5,3,3,1,0,1 traverse once only n get the duplicate number's along with the count). printing pascal triangle duplicate letter from a string with less complexity reversing words of string individually(this is a tree---o/p: siht si a eert)
Input is a string like "AAAAABBCCAA" and it should print "5A2B2C2A". 5 being the continuous number of occurance for character 'A'. Same is with other characters also.
Related to job title, Basic concepts of java & product related questions.
Why are you looking for new work?
Tell me about yourself
How would you scale access to a system like Twitter
only self introduction round and they assured 100%placement will be there.
Viewing 11 - 20 interview questions