Interview Questions and Answers for 'Trianz' - 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 : VIDEO 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 is a Lambda Expression ? What's its use ? Core Java Admin info@buggybread.com
Ans. Its an anonymous method without any declaration.
Lambda Expression are useful to write shorthand Code and hence saves the effort of writing lengthy Code.
It promotes Developer productivity, Better Readable and Reliable code. Sample Code for lambda Help us improve. Please let us know the company, where you were asked this question : VIDEO Like Discuss Correct / Improve java java8 lambda expression architecture Axxess CACI ZonOff Dell India Wellington Management N26 Lithium Technologies DST Systems Overstock Sofi JP Morgan HCL Technologies Infosys Wipro Accenture Accenture India Eurofins Yodlee AvenData GmbH Sapient Global Markets Walmart Ebay Goldman Sachs Foundation Software HSBC Holdings Wells Fargo Marlabs ZooPlus Elastic Path CardConnect WealthFront WorldAware SpredFast Mobileum eGym EnelX Kroger GFT Technoligies Tyro Payments Mindtree KocharTech Bharti Airtel Tech Mahindra Patni Computers L&T Infotech Mphasis Mindtree Hexaware Collabera 3i Infotech IGate Kpit Technologies NIIT Technologies Trianz Persistent Systems IT Asset 1-800 contacts expert   frequent Try 1 Question(s) TestFrequently asked question in companies using Hibernate. Q3. What is Lazy Initialization in Hibernate ? Hibernate Admin info@buggybread.com
Ans. It's a feature to lazily initialize dependencies , relationship and associations from the Database. Any related references marked as @OneToMany or @ManyToMany are loaded lazily i.e when they are accessed and not when the parent is loaded. Sample Code for Lazy Initialization Help us improve. Please let us know the company, where you were asked this question : VIDEO Like Discuss Correct / Improve hibernate lazy loading hibernate lazy initialization hibernate architecture overstock.com BridgePoint Technologies Medgate Dex Media Diversant Tieto Oracle Bank of America Merrill LYNCH NEC Japan HCL Technologies Deloitte Accenture Accenture India Infosys Tata Consultancy (TCS) Luxoft Nvidia Cority Kumaran Systems PubMatic Deven Infotech Tavant Casenet Azuga Egen Solutions Photon Infotech Dun & Bradstreet ITHAKA EngineerBabu Atos Zycus CPA Global Zycus Fareportal Saxo Bank NSF International Publicis Sapient Razorfish Pratham Software ATCS Q3 Technologies Metacube Software A3Logics Nagarro Tech Mahindra Patni Computers L&T Infotech Mphasis Mindtree Hexaware Collabera 3i Infotech IGate Kpit Technologies NIIT Technologies Trianz Persistent Systems IT Asset SkillTeam Consulting KenQA Services Career Infosystem Savera IT Solutions Miracle Corporate Solutions MAKWIZ Technologies Global Resources Consulting Nastech Consulting Best Infosystems InnoData India Career Trackers and Consulting BR Raysoft Global Brainwork TechnoSolutions GroupFit Insurance Brokers FlexSin Technologies IRIS Software FIS Global Business Solutions TRH Consultancy Services NexThoughts Software Technologies Basic   frequent Try 2 Question(s) TestBasic and Very Frequently asked. Q4. What is Polymorphism in Java ? Core Java 2016-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 Q5. What are the core OOPs concepts ? Core Java 2017-02-06 16:15:55
Ans. Abstraction, Encapsulation, Polymorphism , Composition and Inheritance Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve core oops concepts 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 Wipro Tech Mahindra Patni Computers L&T Infotech Mphasis Mindtree Hexaware Collabera 3i Infotech IGate Kpit Technologies NIIT Technologies Trianz Persistent Systems IT Asset basic   frequent