Interview Questions and Answers for 'Headstrong' | Search Java Interview Question -

Search Interview Questions

 2796 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text




Interview Questions and Answers for 'Headstrong' - 2 question(s) found - Order By Newest

 Q1. Explain various Searching and Sorting Algorithms ?Algorithm2017-01-11 16:05:54

Ans. a

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve          HeadStrong

Related Questions

  Can you provide some implementation of a Dictionary having large number of words ?
 What is the difference between Graph's Breadth first and Depth First algorithm ?
 In a Linked list with sorted numbers, insert a new numbers while maintaining the sort order.
  What are the pre-requisite for the collection to perform Binary Search ?
 Write a program for LinkedList, with method to append node and traversing the list ?
  Which sorting algorithm is used by Collections.sort() in Java ?
  How to determine if the linked list has a cycle in it ?
 Write an Algorithm for Graph Traversal ? The Graph has a loop.
 Write an algorithm / java program for Heap Sort ?

 Q2. What are the different ways to handle an exception ?Core Java2017-01-12 11:17:53

Ans. 1. Wrap the desired code in try block followed by a catch / finally to catch the exception

2. Declare the throws clause with exceptions that the code is expected to throw as an indication to the calling method to take care of it.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     exception handling     HCL Technologies  Wipro  Mindtree  HeadStrong

Try 1 Question(s) Test

Related Questions

  What things should be kept in mind while creating your own exceptions in Java?
  Explain java.lang.OutOfMemoryError ?
  How compiler handles the exceptions in overriding ?
 What will happen if we don't have termination statement in recursion ?
  Name few Java Exceptions ?
  How can we make sure that a code segment gets executed even in case of uncatched exceptions ?
  Is it necessary that each try block to be followed by catch block ?
  What is exception propogation ?
  Can we have try and catch blocks within finally ?
  Which of the following exception is thrown when we try to access element which is beyond the size ?

Subscribe to Java News and Posts. Get latest updates and posts on Java from
Enter your email address:
Delivered by FeedBurner

comments powered by Disqus

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:

X Close this

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   

Questions Asked: