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

Search Interview Questions


 2802 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 'Bristlecone' - 2 question(s) found - Order By Newest

Frequently asked in CTS ( Based on 2 feedback )
  Q1. What is the difference between comparable and comparator in java.util pkg?Core Java
Admin
info@buggybread.com
Ans. Comparable interface is used for single sequence sorting i.e.sorting the objects based on single data member where as comparator interface is used to sort the object based on multiple data members.

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

   Like      Discuss      Correct / Improve     java   java.util   comparable   comparator   collections     Verilogue  Accenture  Varian Medical Systems  L&T Infotech  Oracle  eIntern  Happiest Minds Technologies  HCL Technologies  Cognizant (CTS)  Cerner  Coviam  EdgeVerve Systems  Virtusa Polaris  Trimax IT Infrastructure & Services  Xpanxion  Appy Pie  WealthFront  Varian Medical Systems  Bristlecone  Verilogue  Guavus  eClinicalWorks      basic        frequent


Related Questions

  What is comparator interface used for ?
 Sort a List of Objects using comparable and comparator


  Q2. Find Intersection/union between two arrays.Core Java2018-05-13 19:40:34

 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     Bristlecone  Amazon Lab126  Amazon  Microsoft  Facebook  NCR  Google        frequent


Related Questions

  What are the disadvantages of using arrays ?
  What are the Disadvantages of using Collection Classes over Arrays ?
  What is the advantage of using arrays over variables ?
  Advantage of Collection classes over Arrays ?
  What is the difference between int[] x; and int x[]; ?
 Write a Program to merge two sorted arrays ?
 Is array an object in Java ? How can you prove that ?

 why aren't arrays better than array list ?
 What will the following code print ?

int x[] = new int[5];
x[0] = 1;
x[1] = 2;
      
for(int count=0;count<x.length;count++){
System.out.println(x[count]);
}
 What will the following code print

int x[] = new int[5];
x[0] = 1;
x[1] = 2;
      
for(int count=0;count<=x.length;count++){
System.out.println(x[count]);
}




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

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: