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

Search Interview Questions


 3154 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 'Expeditors' - 5 question(s) found - Order By Newest

Very frequently asked. Among first few questions in almost all interviews. Among Top 5 frequently asked questions. Frequently asked in Indian service companies (HCL,TCS,Infosys,Capgemini etc based on multiple feedback )
  Q1. Difference between == and .equals() ?Core Java
Anonymous
Ans. "equals" is the method of object class which is supposed to be overridden to check object equality, whereas "==" operator evaluate to see if the object handlers on the left and right are pointing to the same object in memory.

x.equals(y) means the references x and y are holding objects that are equal. x==y means that the references x and y have same object.

Sample code:

String x = new String("str");
String y = new String("str");

System.out.println(x == y); // prints false
System.out.println(x.equals(y)); // prints true

  Sample Code for equals

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


   Like      Discuss      Correct / Improve     java   string comparison   string   object class   ==    equals   object equality  operator     Ebay  Cerner  GuideWire  Expeditors Associate  Revature  SAIC  ValueLabs  Realty Redefined  Bank Of America  Capgemini  HCL Technologies  Goldman Sachs  Symmetric Corp  Backstop Solutions  Frontier  IQOR   Science  Vanguard  eClinicalWorks  Experticity  Blue Cross and Blue Shield of Kansas  ComTrade  Banja Luka  Overstock.com  Intrasoft International  IBM  Apex Systems  infoview technologies  Ebix  Cumulus Systems  Nakisa  United HealthGroup (UHG)  Sopra Steria  TrueCaller  Mphasis  Amdocs  T & A Hr Solutions  End2End Catalyst  Code Garage Tech  IQuest Management Consultants  Indianmesh pvt ltd  Netsmartz  Meander Software  UrbanPro.com  Netrovert Software  T & A Hr Solutions  Zscaler  Maven Wave Partners  Basware India  Emerson  GCE solutions  SmartData Enterprise  Shivark Virtual Academy  FinXera  Sampoorna Consultants  Samridhi  KKA Technologies  bebo technologies  Closeloop Technologies  DamcoSoft  Swar Yantra Technologies  SK VedaInfo Universal  Trantor Software  IT HAT Consulting  Kindlebit Solutions  Mann McGlynn  AmrtData Enterprises  Riconz Technologies  Embryo Software Solution  Corporate Stalwarts  Varite  Mirror Consultancy Service  Wing Global IT Service  Regence  Adpearance  IGNW  Centizen  Flexton  Syntel  Kaiser Permanente  SkiData  New Relic  McKesson  Finastra  Pivotal  UST Global  Morgan Stanley  Kroger  Genesys  Guardian Life  SynergisticIT  Leidos  Expeditors Associate  Polycom  Compass  Point ClickCare  Expedia  Equal Experts  Dimentrix  Intellect Design Arena  Epam Systems  Qualys  Instacart  ThoughtWorks  Maxgen Technologies  Aayansh Germinate  Principal Financial Group  NineScript Technologies  Nihilent  infrasoft technologies  e-Zest Solutions  Krawler Inc  FundTech  BNT SOFT  SAPsphinx Infotech  KinderTouch  Accede Software Solutions  LeadLake  Emerson  Xoriant  Citrix  Anonymous Content  GS Lab  Thermax  Saama Technologies  Fresherworld.com  Nityo Infotech  Sanofi  Innoplexus  Sears IT & Management Services   National Stock Exchange of India  Accelya Kale  Tudip Technologies  ITSource Technologies  Sela Technology Solutions  Eternus Solutions  Raja Software Labs  Leo TechnoSoft  Shubham Housing Development Finance  Serene Corporation  Leo Technosoft  Questionpro  Sparken IT Solutions  Capsilon  JetSynthesys  MangoSpring  Subway  Arezzo Sky  Lenco Diagnostic Laboratories  Finlogic Technologies  Maxxton  Cerillion  Applus+  XOYAL  Acloudzyn Technologies  ITYX  Tej IT Solutions  Transworld Compressor Technologies  Deskera  Ebaotech  Kahuna Systems  Kimaya Infotech  SSP Technology  Boston Byte  Bonellisoft  Rack Infotech  Intellection Software and Technologies  OMVSAB IT Solutions  ProductDossier  Soft Infology  Systems Plus Transformations  StackMint  HeadInfotech India  EffortSys  KasNet Technologies  Java City  iSynergy TechSys  Unisoft Technologies  Servient  ThinkQuotient Software  Medline Industries  Ascent Cyber Solutions  Proto-T Solutions  Tinker Technologies  Censhare  Proto-T Solutions  Henx International Technologies  AlightHub Consulting Services  Perpetual Infotech  BestoSys  Infiniti Infosystems  Torqus  Spectrum Tech System  OreInfo  Sanvi Softech  Neptune Solutions  XTime  Web Hub Technology  Coin Technologies  Paramount Pictures  Rocklike DMS  Implant Technosoft Solutions  Nabla Infotech  Predikly  Godwit Technologies  Kanaka Consulting  Aarnum Technologies  Ganesh Kapure  Abhinav Digicompsoft Services  Shoffex.com  Online Training Solutions  A Plus Tree  OMM Software Innovation  Tanish Infotech Solution  Zinist Software  Mobile Sutra  Playpixel Infosystem  SunGuard  Nihilent  Siemens PLM Software  Maxgen Technologies  Nitor Infotech  Mediaocean  Yagna iQ  Sigma Systems  Ethon  The Permanente Medical Group  Reliance Industries  MindCraft Software  ABM Knowledgeware  Trutech Web Solutions  Nikhil R Gupta & Associates  eMeasurematics  NovelERP Solutions  Web Element Solutions  HDFC Bank  Qualcomm  Intellect Design Arena  Diebold Nixdorf  Sharekhan  Pepperfry  IRIS Business Services  Wind World  ZEDO  Loylty Rewardz Mngt  C2L Biz  Chenoa Information Services  Insolutions Global  Vakrangee Softwares  Celusion Technologies  Currencies Direct  Zenith System Solutions  Base Information Management  Exponentia DataLabs  Realty Redefined  Constaccent  Neoquant Solutions  Aureus Analytics  Planfirma Technologies  Pawaa Software  iBhejo  Fairfax County Virginia  American Conservation Experience  Hari Krishna Exports  Core Education & Technologies   Nishat Mills  Industrial Market Place  Krisnela Technologies  Swissclear Global  Samyak Software  Professional Access  Nexstep Infotech  Concerto Software  Viral Technologies  Silverwing Technologies  Gcom Software Inc  Accel Frontline  Atom Technologies  Blue Star Infotech  Cynapse  Datamatics Global Services  Flytxt Mobile Solutions  Persistent Systems  Onmobile Global  Trianz  Sasken  WNS Global Services  Tavant technology  Edz Infomatics      basic        frequent

Try 6 Question(s) Test


Frequently asked. Favorite question in Walk in Drive of many Indian service companies.
  Q2. What are the methods of Object Class ?Core Java
Anonymous
Ans. clone() - Creates and returns a copy of this object.

equals() - Indicates whether some other object is "equal to" this one.

finalize() - Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

getClass() - Returns the runtime class of an object.

hashCode() - Returns a hash code value for the object.

toString() - Returns a string representation of the object.

notify(), notifyAll(), and wait() - Play a part in synchronizing the activities of independently running threads in a program.

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

   Like      Discuss      Correct / Improve     java   oops   object class     Capgemini  NIIT Technologies   Virtusa  Goldman Sachs  PwC  Citi  Expeditors  SoftFluent  LinkedIn  Amadeus  Navteq  PLC Systems  Axtria Associate  Netcracker Technology  Altisource      basic        frequent

Try 1 Question(s) Test


Very Frequently asked. Have been asked in HCL Technologies very frequently ( based on 3 feedback ). Among first few questions in many interviews.
  Q3. Differences between abstract class and interface ?Core Java
Admin
info@buggybread.com
Ans. Abstract classes can have both abstract methods ( method declarations ) as well as concrete methods ( inherited to the derived classes ) whereas Interfaces can only have abstract methods ( method declarations ).

A class can extend single abstract class whereas it can implement multiple interfaces.

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


   Like      Discuss      Correct / Improve     java   classes   abstract class   interfaces     GlobalLogic  HCL Technologies  Tata Consultancy (TCS)  Infosys  Wipro  Mindtree  CapitalOne  Accenture  Accenture India  IBM India  Infoview Technologies  Salesforce  AT&T  United Health Group (UHG)  Verilogue  Amazon  Expeditors  Syntel  SalesForce  Cornerstone OnDemand  Expedia  OLA  NSF International  Copper Mobile  Think Future Technologies  MorphoTrust  Global Healthcare  Prodigious  Internet Brands  SciQuest  arvato Systems  iCIMS  Ideas2IT  virtusa polaris  Vitech Systems  Cognizant (CTS)  Speridian Technologies  Ojas Innovative Technologies  SWC Technology Partners  Cricbuzz  Jean Martin  Capgemini  Virtusa  ECI Telecom   Aptify   Crossover  ample softech  Metanoia software solutions  Overstock.com  Unic Sol India  Experis India  Intellect Design Arena  Sarathi Softech  Transorg Analytics  Cibersites India  Resource Weaver  Indium Software  Kone Elevator  Merkur Gaming  Prama Hikvision  Gurucul Solutions  e-Zest Solutions  ReadMind Info Services  Equator Business Solutions      basic        frequent


Very Frequently asked to fresh graduates and less experienced. Favorite question in Walk in drives. Frequently asked in Indian Services companies.
  Q4. Difference between Overloading and Overriding ?Core Java
Anonymous
Ans. Overloading - Similar Signature but different definition , like function overloading.

Overriding - Overriding the Definition of base class in the derived class.

  Sample Code for overloading

  Sample Code for overriding

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

   Like      Discuss      Correct / Improve     java   oops   overloading   overriding   oops concepts   basic interview question     PC Technology  Cognizant (CTS)  Donlen   hybris Software  RedMane  Allerin Technologies  Gemalto  Allerin Technologies  HCL Technologies  Tata Consultancy (TCS)  Accenture  Accenture India  Infosys Technologies  Polaris  United Healthcare India  IBM India  Xchanging  American Express  Antra  Flipp  Computer Sciences Corporation (CSC)  Garmin  NetSuite  Donlen  Hudsons Bay  Techlogix  SevOne  Synactive  Oodles Technologies  FDM Group  Marlabs  RedMane Technology  Faichi Solutions  TD  Tech Mahindra  Shutterfly  Luxoft  PC Technology  CCC Information Services  State Farm  Raja Software  Mastek  EPAM  Morgan Stanley  SummitWorks  Sony  Citibank  Emtec  LowerMyBills  Consilience  Xavor  AllState  FasTrak  AmTrust Financial  Walt Disney  Ultramain Systems  International Turnkey Systems  Knoldus Software  CA Technologies  Amdocs  FDM Group  Hybris  Fidelity  United Health Group (UHG)  Bluewhale Solutions  Pegasystems  Revature   Innoplexus  Vanguard  AptSource  Perficient  Grapecity  Subex  QuintilesIMS  NimbleUser  Expeditors Associate  Sapient  HR Cloud  Summitworks  Jabong.com  Kony Labs  Price Waterhouse Coopers (PWC)      basic        frequent

Try 1 Question(s) Test


  Q5. What are Default Methods ?Core Java
Admin
info@buggybread.com
Ans. With Java 8, We can provide method definitions in the Interfaces that gets carried down the classes implementing that interface in case they are not overridden by the Class. Keyword "default" is used to mark the default method.

  Sample Code for interface default

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

   Like      Discuss      Correct / Improve     java   java8   default methods     DataArt  Expeditors  Wipro  GoodData  Infosys Technologies  sharp software development  Ensure support services      expert        frequent




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: