Interview Questions and Answers for 'Catalystone' - 2 question(s) found - Order By Newest Q1. Explain OOPs
or
Explain OOPs Principles
or
Explain OOPs Concepts
or
Explain OOPs features
or
Tell me something about OOPs Core Java 2017-06-13 08:25:45
Ans. OOPs or Object Oriented Programming is a Programming model which is organized around Objects instead of processes. Instead of a process calling series of processes, this model stresses on communication between objects. Objects that all self sustained, provide security by encapsulating it's members and providing abstracted interfaces over the functions it performs. OOP's facilitate the following features
1. Inheritance for Code Reuse
2. Abstraction for modularity, maintenance and agility
3. Encapsulation for security and protected
4. Polymorphism for flexibility and interfacing Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve oops oops features Trimax IT Infrastructure & Services Aricent HCL Technologies Tata Consultancy (TCS) Infosys Cognizant (CTS) Capgemini Blue Coat Symantec Deegit Cerner Verizon Ancestry Accenture Accenture India Lexis Nexis Elsevier Overstock Sofi DeCurtis Appirio GlobalLogic Robert Bosch Lexicon IT Teleperformance Ranosys Technologies InfoObjects LoginRadius Pixere GirnarSoft In Time Tec Konstant Infosolutions Axtria Infostretch TatavaSoft E2logyCroods Consolidates Elegant MicroWeb IndiaNIC Infotech Surekha Technologies Amnex InfoTechnologies Wishtree Technologies Apttus Majesco Techsosys Virtusa Gruppo Banca Sella eNoah Volante Technologies Karomi Urjanet Full Creative Uniphore Software Systems Revature Saggezza DXC Technology QBurst Kott Software Petrolink Services RapidValue Solutions Speridian Technologies Fingent Marlabs Ixigo.com Bravura Solutions Amdocs GSPANN Technologies Healthkart Hughes Systique Prospecta Fidelity Mediology Software Ksolves InfoGain Mindfire Solutions Hays R Systems Netrix Technology HexaView PayTM Suncore Microsystem Remaxys ANR Software Impetus Technologies WittyBrains InnovationM Diction Technology Bhavna Corp Bristlecone Fiserv Quovantis Technologies InnovationM Intelligrape Software PayCraft Nearbuy WSE Group Grappus MAQ Software JellyFish Technologies SysArc Infomatix MetricStream Delhivery Atidan Experis NICE Dark Horse IT VizExperts CatalystOne Syntel BlackNGreen InnoEye Technologies Java R&D QA InfoTech HARMAN Eli Global Damco Solutions LensKart 360 Degree FlipKart Egen Solutions AppzCloud Technologies TechAhead Yamaha Motor Solutions Quovantis Technologies Adobe Samsung Noida Lab Lybrate Novelvox HSBC Holdings Fluid AI Nelito System GoldenSource Naaptol Ashtech Infotech Mobicule Future Group Calypso Technology Skillnet Solutions 3i Infotech Nucsoft InteractCRM Aurionpro Solutions Hexaware Technologies Ness Technologies Cigniti Inc ValueLabs Magnaquest Mphasis IVY Comptech Medlife.com ServiceNow Acclaris Reliance Jio Infocomm Bentley Systems Erricson Worldwide Hyland Xpanxion Cerner Codeclouds IT Solutions Procentris Cleocotech International Divergent Soft Lab Endevor IT Solution Impetus Infotech India Bhaskar Technologies SeroSoft Solutions Retina Software General Atomics B3 - Brain Behind Brand Oni Enterprises Amal Infosystems Future Focus Infotech Celcom Technologies Globez Professional Solutions Harjai Computers Pazzo Solutions Data-Core Systems Sampoorna Computer People Trowano Avenues ezyreach.in Sandeep Dwellers Interra Information Technologies Sellcraft Global Solutions RJS Tech Solutions WSE Group Magna India Educiting Technologies Continental Automotive Components India IBM India Asap Info Systems Capgemini Smart Move Career Consultants Aeronube Technologies Skywings Advisors Diverse Lynx ProCreations Kolkata Tickto Solutions Fresher Jobs SMVA Consultants Ixoraa Enterprises ILabz Technology 2Coms Consulting Talent Flix Nat IT Solved Kopal Consultants LLP Rebaca Technologies Techs To Suit Inc Soffront Software eDot Health Solutions MSH Talent Solutions Techathon Networks LLP Vara United Crossover for work Wedoria Technologies Golden Opportunities Minivet System Maitretech JS Tech Alliance BirjaSoft Technologies BirlaSoft AwzPact Technologies and Services MaxGen Technologies Manker Consultancy Services I Quest Consultants ACE Group Seven Consultancy WTM It Limited P R Software DezVen Software Solution Aliens Group EXL Tech Solutions AcompWorld Technosoft Eulogik xtranet technologies Java RnD basic   frequent Related Questions Can you give a real world example of Encapsulation and Abstraction ? Which of the following Java feature promotes access protection or Hiding ?
a. Inheritance
b. Encapsulation
c. Abstraction
d. Composition Define encapsulation in Java ? Give an example of how Object Oriented Programming Concepts can be implemented. Which of the OOP's features facilitate dependency injection ? Which of the OOP's feature - encapsulation or abstraction - is more important ? Which of the polymorphism type - static or runtime - is more important ? Which of the OOP's feature is most important ? Frequently asked in all types of companies especially Indian Services companies. Frequently asked in CTS (Based on 2 feedback) Q2. What is the use of hashcode in Java ? Core Java Anonymous
Ans. Hashcode is used for bucketing in Hash implementations like HashMap, HashTable, HashSet etc. The value received from hashcode() is used as bucket number for storing elements. This bucket number is the address of the element inside the set/map. when you do contains() then it will take the hashcode of the element, then look for the bucket where hashcode points to and if more than 1 element is found in the same bucket (multiple objects can have the same hashcode) then it uses the equals() method to evaluate if object are equal, and then decide if contain() is true or false, or decide if element could be added in the set or not. Help us improve. Please let us know the company, where you were asked this question : VIDEO Like Discuss Correct / Improve java collections hashcode advanced hashtable Cognizant (CTS) Compro Technologies VigLink Proofpoint Accolite Foot Locker IMC Trading LG Mobile Phones Probity Soft EPPS Infotech AbeBooks LiquidNet Google Girmiti Software Hashcode IT Solutions Aurionpro Solutions Insonix Genpact Trentor CatalystOne Solutions RedBlink Bayatree Infocom Security Weaver Steg Technologies Roshi Software Solutions DreamSoft4u Decipher Zone Softwares Precise Automation & Robotics Componence Dainik Navajyoti Bodacious IT Hub Naggaro intermediate   frequent Try 1 Question(s) TestRelated Questions Which String class does not override the equals() and hashCode() methods, inheriting them directly from class Object? Write a class and override the equals and hashcode method ?