Core java - Interview Questions and Answers for 'Delphix' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3296 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

   



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

 Q1. How to find the median number in an array of integers ?Core Java2017-02-02 18:04:41

Ans.

Arrays.sort(numArray);
double median;
if (numArray.length % 2 == 0)
   median = ((double)numArray[numArray.length/2] (double)numArray[numArray.length/2 - 1])/2;
else
   median = (double) numArray[numArray.length-1/2];

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

   Like         Discuss         Correct / Improve     coding     Asked in 2 Companies


Related Questions

  What are the steps to be performed while coding Junit with Mocking framework ?
  What is a Sequence File?
 What different level of logging you use while coding ?
 Have you ever encoded the response before sending it back from the service? If Yes , Which encoding was used ?
 What are the different type of encoding you have used ?
 How does encoding affect using Reader / writer classes or Stream classes in Java ?
 What is the difference between html encoding and url encoding ?
 Does spaces get's encoded in html encoding ?


 Q2. How to write an iterator for an iterator of iterators?Core Java2019-02-01 12:33:36

 This question was recently asked at 'Delphix'.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     iterator     Asked in 1 Companies


Related Questions

  What is an Iterator?
  What are few iterator classes provided by Java ?
 What are fail-fast Iterators ?
 Is Iterator a class ?
 How Spliterator in Java 8 different than iterator ?
 Which is better in terms of performance - Iterator or Spliterator ?
 What are the cursors available in Java ?
 What is the difference between Enumeration and Iterator ?
 Why iterators of an array list are fail fast ?
 How can i split a linked list in two parts in java 8?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
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