Interview Questions and Answers - Order By Rating Ans. We are using it for computation (EC2) , Storage (S3) and Database (RDS) Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  AWS Lambda Asked in 1 Companies Q782. Are you involved in architecture and design ? General
This question was recently asked at 'Western Governors University (WGU)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q783. Which development methodology do you use ? General
Ans. http://www.itinfo.am/eng/software-development-methodologies/ Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 2 Companies Q784. Which spring boot version are you working with ? Spring Boot
This question was recently asked at 'Western Governors University (WGU)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q785. What is the "multiplicative congruence" method for determining where an element belongs in a hash table ? Data Structure
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q786. Describe how a queue is usually created using sequential allocation. Data Structure
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q787. If a stack is implemented using linkedlist, which end (head or tail) should represent the top ? Data Structure
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q788. If a stack is implemented using an array, which end (head or tail) should represent the top ? Data Structure
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q789. Given a comma separated string that signifies the current position in 4 * 4 tic tac toes game, write a program that gives the result of the game - If anyone win and if yes then who and if the game is still open.
For example - x,0,x,x,x,0,0,0,0,x,0,x means that 00 index has x, 01 has 0 and so on with x(3,3) has last element x Design
This question was recently asked at 'Spillman Technologies'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q790. Math.round method rounds the decimal to an integer by stripping off the decimal places. How can we use the same method to keep only 2 decimal places
For example -
Math.round(12.3456) will return 12. What should we do to get 12.34 without using any other class or method. Core Java
Ans. We can multiply the value by 100 and then use Math.round on that and then divide the result by 100
For example -
(Math.round(12.3456 * 100)) / 100 Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Math.round  double Q791. What is the structure of your team ?
This question was recently asked at 'FlatIron,Western Governors University (WGU)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 2 Companies Q792. Can you explain the recent bug in your project and how you fixed it. General
This question was recently asked at 'Flatiron Health'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q793. Given a linked list with 0 to n node references , Flaten the Linked list Algorithm
This question was recently asked at 'One Click Retail'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q794. Given the Phone keys mapping between numbers and characters as following
1 - a,b,c
2 - d,e,f
and so on, Write a Program that takes the integer as input and then print all possible combinations of characters matching those integers.
For example - 12 should return
ad,ae,af,bd,be,bf,cd,ce,cf Design
This question was recently asked at 'FlatIron Health'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q795. What is ViewResolver in Spring MVC ? Spring
Ans. View resolver is used to get view name from Controller and resolve the next view page Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q796. What is the biggest learning in any of your previous jobs ?
This question was recently asked at 'iOPEX Technologies'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q797. Make "I Know Java" as "I Java Know" without using any inbuilt functions. Core Java
This question was recently asked at 'iOPEX Technologies'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q798. Find Fibonacci first n numbers using recursion ? Core Java
Ans. public int fibonacci(int n) {
if(n == 0)
return 0;
else
if(n == 1)
return 1;
else
return fibonacci(n - 1) fibonacci(n - 2);
} Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q799. Find unique values between two arrays using single for loop ? Core Java
This question was recently asked at 'Net connect'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  for loop  control statements  loop statement Asked in 1 Companies Q800. Find Intersection/union between two arrays. Core Java
This question was recently asked at 'Bristlecone,Amazon Lab126,Amazon,Microsoft,Facebook,NCR,Google'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  arrays  code  coding Asked in 7 Companies   frequent Ans. The garbage collection is a facility wherein a program runs on the Java Virtual Machine which gets rid of objects, which are not being used by a Java application anymore. It is a form of automatic memory management and recollection. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 4 Companies Q802. Which spring boot version are you working with ?
Spring Boot
This question was recently asked at 'Western Governors University (WGU) '.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies basic   frequent Q803. Do you like your work in current project ?
This question was recently asked at 'HCL Technologies'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q804. Why do you want to leave your current job ? General
Ans. The most effective and acceptable reasons for leaving your current job should be positive e.g. moving forward in your life or career Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 21 Companies Q805. When to use List, Set and Map in Java Core Java
Ans. I. If we want a Collection that does not store duplicate values, then we use a Set based collection.
II. If we want to frequently access elements operations based on an index value then we use a List based collection. E.g. ArrayList
III. If we want to maintain the insertion order of elements in a collection then we use a List based collection.
IV. For fast search operation based on a key, value pair, we use a HashMap based collection.
V. If we want to maintain the elements in a sorted order, then we use a TreeSet based collection. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Ans. Collection is a container which is used to store and manipulate the group of objects Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q807. Write a program that identifies numbers in a list that are palindrome and perfect square ? Core Java
This question was recently asked at 'Spillman Technologies'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q808. Can you explain filter and collectors in java 8 ? Core Java
Ans. Filters are used to filter object in stream on certain criteria.
Collector is used to collect outcome of the stream. Collector is a terminal operation.
List numbers = List.of(1,2,3,4,5,6,7);
List evenNumbers = numbers.stream().filter(n -> n%2==0).collect(Collectors.toList());
The above code will filter out odd numbers and return the list of even number. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  collectors  filters  java 8 Q809. Can you explain filter and collectors in java 8 ? Core Java
Ans. Filters are used to filter object in stream on certail criteria. And collector is used to collect outcome of the stream. Collector is a terminal operation.
List numbers = List.of(1,2,3,4,5,6,7);
List evenNumbers = numbers.stream().filter(n -> n%2==0).collect(Collectors.toList());
The above code will filter out odd numbers and return the list of even number. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  collector  filter Q810. Have you ever built an automation suite to test a cron job or command line application ? Testing
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  automation testing