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

Search Interview Questions


 3167 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 'Vanguard' - 6 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


  Q2. What do you mean by "Java is a statically typed language" ?Core Java
Admin
info@buggybread.com
Ans. It means that the type of variables are checked at compile time in Java.The main advantage here is that all kinds of checking can be done by the compiler and hence will reduce bugs.

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


   Like      Discuss      Correct / Improve     java   statically typed language   variable declaration     Vanguard  Viasat  Natrix Technology  HCL Technologies  Accenture  Accenture India  Infosys      basic        frequent


Very frequently asked. Favorite question in Walk in Drive of many Indian service companies. Frequently asked in HCL Technologies, TCS and Accenture.
  Q3. What is the difference between final, finally and finalize() ?Core Java
Admin
info@buggybread.com
Ans. final - constant variable, objects cannot be de-referenced, restricting method overriding, restricting class sub classing.

finally - handles exception. The finally block is optional and provides a mechanism to clean up regardless of what happens within the try block. Use the finally block to close files or to release other system resources like database connections, statements etc.

finalize() - method helps in garbage collection. A method that is invoked before an object is discarded by the garbage collector, allowing it to clean up its state.

  Sample Code for final

  Sample Code for finally

  Sample Code for finalize

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


   Like      Discuss      Correct / Improve     java   oops   final   finally   finalize     Thomson Reuters  WITS  Antra  Jive  MorningStar  VanGuard   Alcatel Lucent  Morningstar  A9.com  EPAM  Nuance  SirsiDynix  NCR  VanGuard  Proofpoint Interview  Disney  Orbitz Worldwide  GFI Informatique  Canon  WITS  Simba Technologies  Marlabs  American Well  Global Relay  L&T Infotech  HCL Technologies  Tata Consultancy (TCS)  Wipro  Infosys  Accenture  Accenture India  Jive  Salesforce  Deegit  NTT DATA  Proofpoint  Morningstar  Bank Of America  Manhattan Associates  Optum  NorthPoint  Nok Nok Labs  Simba Technologies   Rhino Africa  Solutionreach  V Soft Consulting  EBay  Cognizant (CTS)  IBM  ExactTargetKewill  CV Holdings  Symphony  Cubic Web solutions  Star International  FatWire  Mindteck  Dark Horse  TrueCaller   marlabs  Proofpoint      basic        frequent

Try 4 Question(s) Test


Basic and Very Frequently asked.
  Q4. What is Polymorphism in Java ?Core Java2016-11-06 09:10:54

Ans. Polymorphism means the condition of occurring in several different forms.

Polymorphism in Java is achieved in two manners

1. Static polymorphism is the polymorphic resolution identified at compile time and is achieved through function overloading whereas

2. Dynamic polymorphism is the polymorphic resolution identified at runtime and is achieved through method overriding.

  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     polymorphism  object oriented programming (oops)  oops concepts  oops concepts     Credit Suisse  Unbounded Solutions  Microsoft   Google  Purch  HCL Technologies  Tata Consultancy (TCS)  Wipro  Mathworks  Accenture  Accenture India  ZonOff  ZapCom  Addteq  Priceline.com  Acute Informatics  Trimax IT Infrastructure & Services   USAA  HCL Technologies  FDM Group  AppEnsure  Inov8  TIAA  Revature  Lockheed Martin  ScotiaBank  Algorhythm Tech  Aurus  Xpanxion  Bitwise Pune  GS Labs  Bitwise India  CRIF  Saggezza  Synchrony  Micro Focus  Mindtree  Zycus  Capgemini  ZapCom Group  Infosys Technologies  SLK Group  Intuit Bangalore  Quickr  Comviva Technology  Altimetrik  IDEALINVENT Technologies  Kewill  coMakeIT  Vekomy Technologies  Eze Software  State Farm  Rolta  State Street  High Radius  Cerner  TIBCO  3i Infotech  Goldman Sachs  ITC  abhra  InteractCRM  Polaris  Naggaro  Siemens  Hexaware Technologies  Skillnet solutions  Logixal Solutions Mumbai  Naaptol Mumbai  Logixal Solutions  NSETECH  Mastek Mumbai  AppAmplify Noida  HexaView Technologies  Wipro  Wittybrains Software Technologies  Meenakshi Noida  Eastern Software Systems Noida  MediaAgility Gurgaon  Daffodil Software  Oracle Gurgaon  Kellton Tech Gurgaon  Bharti Airtel Gurgaon  IHS Markit Gurgaon  Sinew Gurgaon  Grappus Gurgaon  Erricson Gurgaon  Deloitte  Accenture  Accenture India  Tech Mahindra  Patni Computers  L&T Infotech  Mphasis  Mindtree  Hexaware  Collabera  3i Infotech  IGate  Kpit Technologies  NIIT Technologies  Trianz  Persistent Systems  IT Asset  FIA-US  VanGuard  General Atomics      Basic        frequent

Try 2 Question(s) Test


Very Frequently asked to fresh graduates and less experienced. Favorite question in Walk in drives. Frequently asked in Indian Services companies.
  Q5. 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


  Q6. What is coupling and Cohesion ?Design2016-11-15 16:16:10

Ans. Coupling is the degree of interdependence between software modules, a measure of how closely connected two modules are or the strength of the relationships between modules.

Cohesion refers to the degree to which the elements of a module belong together. Cohesion measures the strength of relationship between pieces of functionality within a given module.

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

   Like      Discuss      Correct / Improve     coupling  cohesion     State Farm  EPAM  Vanguard  Incedo  Maverick  B2 Solutions  At&T  Datto  HCL Technologies  Xactly        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: