1000 lockers and 1000 students problem
Software Development Java Interview Questions
30,900 software development java interview questions shared by candidates
how to sort elements within Java collection framework.
use streams for map , filter
the qst that i failed to answerwas what can you contribute to the company ?
Tell me About your self?
asked the me real time problem and asked me to rigth the code
Basic Java/ J2EE questions.
1. What is the method not stopping thread flow?{read(),wait(),notify() these are the options} 2. Program output public class BolleanLocalVariable { public void test(){ boolean b1=true; boolean b2=fix(b1); System.out.println(b1+" "+b2); } public boolean fix(boolean b1) { // TODO Auto-generated method stub b1=false; return b1; } public static void main(String[] args) { // TODO Auto-generated method stub BolleanLocalVariable B= new BolleanLocalVariable(); B.test(); } } 3. Program output public static void main(String[] args) { // TODO Auto-generated method stub int[] a= {3,5,8}; a[1]=7; int[] b=a; System.out.println(a[0]+" "+a[1]+" "+a[2]); System.out.println(b[0]+" "+b[1]+" "+b[2]); } 4.Program output public class FinallyWithSExitDemo { public static void main(String[] args) { // TO DO Auto-generated method stub try{ System.exit(0); }finally{ System.out.println("Hi i am in finally block"); } } } 5. Valid Thread class constructors 6. 7. Longest sub range of pure number 8. Length of unique K elements First Line T Test case Second N,K Elements separated by space Third line N elements with in the range of k 9. Find nth value of provided Palindrome list with the combination of 4 and 5 like 44,55,4545
You should be aware of whole Java,jdbc and sql to answer the questions
Complete fizzbuzz coding task
Viewing 2601 - 2610 interview questions