Interview Question

Software Engineer Interview

1.- What are some of the flow control mechanisms you would

  expect to find in a modern programming language? Compare and contrast 3 of these mechanisms 2.- List the main concepts of object-oriented development. Describe at least one in detail. 3.-Given an array of type Contact with the property Phone, write a Java method that determines whether any pair of contacts in the array has the same phone number. Be sure to return a boolean value of true if a match is found. Note that there are several potential solutions to this problem. Please try to provide the most efficient solution possible assuming a very large number of contacts 4.-List the test method names that you would want to implement for the above code. Provide the implementation for at least one of these
Answer

Interview Answer

1 Answer

1

while loop, for loop and if else conditional flow control.

Interview Candidate on Oct 18, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.