How do you handle Array types on JSON!!!
Java Technical Trainer Interview Questions
18,577 java technical trainer interview questions shared by candidates
How will you implement security in java?
No unexpected questions.
None, No questions were asked. I was an intern who came through referral but yes they forewarn you 'you have been given an opportunity, make the most of it also we will not sign your report till its not satisfactory'
If you get through the java phone interview, which I did, then you get a javascript phone interview, then, face 2 face.
Then there was software development problem, to write down Java application, 1 file, not more than 50 lines of code, which read given file (63kb) of text, find all words there and print list of words with number of their occurences. This programm should work less than 100ms.
PART 2 on glassdoor phase 3 java question Java program will focus on string and string only where you have to manipulate a given string Here you have to make logics with use of IF/Else+WhileLOOP+FORLOOP+Switch you cannot use pre defined methods from java classes compiler is little different this will not run >>>>> XXXXXXXXXX(((((( public class RegexMatches { public static void main( String args[] ){ // String to be scanned to find the pattern. String line = "This order was placed for QT3000! OK?"; String pattern = "(.*)(\\d+)(.*)"; // Create a Pattern object Pattern r = Pattern.compile(pattern); // Now create matcher object. Matcher m = r.matcher(line); if (m.find( )) { System.out.println("Found value: " + m.group(0) ); System.out.println("Found value: " + m.group(1) ); System.out.println("Found value: " + m.group(2) ); } else { System.out.println("NO MATCH");}}} ))))))XXXXXXXXXX you cannot apply this compiler will create error will not compile compiler is not up to date and cause many error in a small screen which is hard to read SOOOOOO you have to >>>>> You have to focus on logics logics and logics only This type of program will run this will run >>>>>>>>> Program to convert a string (“heLLowW”) into (“Helloww”) class go{ static void opp(String string){ int i=0; char a=string.charAt(i); if(a>=97&&a<=122) { a=(char)(a-32); } System.out.print("aaa="+a); i++; for(;i<string.length();i++) {a=string.charAt(i); if(a>=65&&a<=90) {a=(char)(a+32); }System.out.print(a); }}}public class Procase { public static void main(String[] args) { go g=new go(); g.opp("heLLowW");}} another example to convert a string into lower case class puffy{ static void opp(String string){ int i=0; for(;i<string.length();i++){ char x=string.charAt(i); if(x==32){ x=66; }if(x>=65&&x<=90){ x=(char)(x+32); } System.out.print(x);}} } public class lowcase { public static void main(String[] args) { puffy pf=new puffy(); pf.opp("helJSakdaS adcjadcAAV"); }} Another example To find substring class paoo{ static void pao(String str){ int length=str.length(); for(int c=0;c<length;c++){ for(int i=0;i<=length;i++){ String sub=str.substring(c, c+i); System.out.println(sub); }}}} public class substring { public static void main(String[] args) { paoo p= new paoo(); p.pao("fun");}} another program to convert a number from decimal to binary public class NewClass2 { public static void main(String[] args) { int a=2334466; String binary=""; while(a>0){ int rem=a%2; binary=rem+binary; a=a/2; } System.out.println("answer is ="+binary);}} You will pass this round if u make query Java program result 0 1 fail 0 2 Fail(its 40% but still fail) 1 0 fail 1 2 pass 2 2 pass 3 0 pass That’s all in this round
How do you test if a string is valid in date format?
How do you manage a person who is not showing great interest in working as a team
I misunderstood the meaning of "finding what the number is" to "find where the number is"
Viewing 1551 - 1560 interview questions