Senior Java Engineer Interview Questions

636 senior java engineer interview questions shared by candidates

Programming Assignment: Given two numbers, M and N, write a program to determine if M & N are amicable pairs. An amicable pair (m,n) consists of two integers m,n for which the sum of proper divisors (the divisors excluding the number itself) of one number equals the other. Amicable pairs are occasionally called friendly pairs (Hoffman 1998, p. 45), although this nomenclature is to be discouraged since the numbers more commonly known as friendly pairs are defined by a different, albeit related, criterion. Not, a number cannot be amicable with itself.
avatar

Senior Java Engineer

Interviewed at Dynata

3.1
Sep 27, 2015

Programming Assignment: Given two numbers, M and N, write a program to determine if M & N are amicable pairs. An amicable pair (m,n) consists of two integers m,n for which the sum of proper divisors (the divisors excluding the number itself) of one number equals the other. Amicable pairs are occasionally called friendly pairs (Hoffman 1998, p. 45), although this nomenclature is to be discouraged since the numbers more commonly known as friendly pairs are defined by a different, albeit related, criterion. Not, a number cannot be amicable with itself.

Mostly core Java and SQL. Collections Hierarchy Collections.synchronizedCollection(Collection ) HashMap versus Hashtable Equals and hashCode ArrayList versus vector ArrayList verus LinkedList Treemap versus treeset Iterators Concurrent Hashmap Executor Pool Thread framework. Hashmap internals. Why doesn't hashtable allowe null key? BlockingQueue Reentrant lock Read write lock Deadlock program. How to avoid deadlock Wait, notify program Wait versus sleep,Wait versus yield InteruptedException Illegal monitor exception Exceptions thrown by threads. Why are strings immutable Abstract class versus interace OOPS Overriding versus overloading Exception hierarchy User defined exception Class.forname Reflection Garbage collection. When is it called. PermGen EdenSpace Static Final Comparator, comparable. Array.sort Colelctions.sort Joins SQL functions, like date, char String builder versus String buffer Singleton Factory Abstract factory Observer Composite JSP architecture
avatar

Senior Software Engineer Java

Interviewed at Xoriant

3.8
May 11, 2018

Mostly core Java and SQL. Collections Hierarchy Collections.synchronizedCollection(Collection ) HashMap versus Hashtable Equals and hashCode ArrayList versus vector ArrayList verus LinkedList Treemap versus treeset Iterators Concurrent Hashmap Executor Pool Thread framework. Hashmap internals. Why doesn't hashtable allowe null key? BlockingQueue Reentrant lock Read write lock Deadlock program. How to avoid deadlock Wait, notify program Wait versus sleep,Wait versus yield InteruptedException Illegal monitor exception Exceptions thrown by threads. Why are strings immutable Abstract class versus interace OOPS Overriding versus overloading Exception hierarchy User defined exception Class.forname Reflection Garbage collection. When is it called. PermGen EdenSpace Static Final Comparator, comparable. Array.sort Colelctions.sort Joins SQL functions, like date, char String builder versus String buffer Singleton Factory Abstract factory Observer Composite JSP architecture

Viewing 91 - 100 interview questions

Glassdoor has 636 interview questions and reports from Senior java engineer interviews. Prepare for your interview. Get hired. Love your job.