Interview Questions and Answers for 'Infogain' | 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

   



Infogain


   




Interview Questions and Answers for 'Infogain' - 7 question(s) found - Order By Newest

Very frequently asked in different variations. Frequently asked in Deloitte ( 2 feedback ) , HCL Tech ( 3 feedback ) and Coginizant (CTS)
  Q1. Explain the scenerios to choose between String , StringBuilder and StringBuffer ?

or

What is the difference between String , StringBuilder and StringBuffer ?
Core Java
Anonymous
Ans. If the Object value will not change, use String Class because a String object is immutable.

If the Object value can change and will only be modified from a single thread, use StringBuilder because StringBuilder is unsynchronized(means faster).

If the Object value may change, and can be modified by multiple threads, use a StringBuffer because StringBuffer is thread safe(synchronized).

  Sample Code for String

  Sample Code for StringBuffer

  Sample Code for StringBuilder

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


   Like      Discuss      Correct / Improve     java   string class   string   stringbuilder   stringbuffer     Cognizant (CTS)   San Jose State University (SJSU)  HCL Technologies   Deloitte  Sophos  Hitachi  JPMorgan Chase  IBM  Kony Labs  Keystone  ebay  TIAA Financial Services  Ancestry   Rakuten  Accenture  Accenture India  QualiTest Group  CDK Global  InfoGain  Mindfire Solutions  Shopify  Tk20  AppKnox  RedMane Technology  Fidelity  travelex      basic        frequent

Try 3 Question(s) Test


  Q2. Explain OOPs

or

Explain OOPs Principles

or

Explain OOPs Concepts

or

Explain OOPs features

or

Tell me something about OOPs
Core Java2017-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   travelex      basic        frequent


Very frequently asked. Favorite question in Walk in Drive of many Indian service companies.
  Q3. What is a final method ?Core Java
Anonymous
Ans. Its a method which cannot be overridden. Compiler throws an error if we try to override a method which has been declared final in the parent class.

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

   Like      Discuss      Correct / Improve     java   oops   final   final method     Oracle  Intertek  HCL Technologies  Tata Consultancy (TCS)  Accenture  Accenture India   IBM  Goldman Sachs   TrueCar   Intertek RedMane   Antra  Flanders Software  Causecode Technologies  ING Direct  Intertek  Tudip Technologies  Finance One  Mphasis  #i Infotech  L&T Infotech  Tata Elxsi  State Farm  Cerner  Deegit  Infosys Technologies  Wipro  Mahindra Satyam  Global Logic  InfoGain  Cognizant (CTS)      basic        frequent

Try 1 Question(s) Test


Very frequently asked. Usually asked with questions related to String.
  Q4. What is an Immutable Object ?Core Java
Anonymous
Ans. Object that can't be changed after instantiation.

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

   Like      Discuss      Correct / Improve     java   oops   immutable  immutability     LiveSocialize Technologies  Oracle  Bureau Veritas  AudioCodes  GCPL Technologies  Infogain  Goldman Sachs  JP Morgan  Incture Technologies  Novell  Amisoft Technologies  Xactly Corp  Amisoft Technologies  Sunrun  Cognizant (CTS)  Hortonworks  AdNovum  Aquent   V-Soft  Sears  Idexcel  Infusion  Knight Capital  Bally Technologies  Yatra Online  Multivision (Virginia)  Portware LLC      basic        frequent

Try 2 Question(s) Test


  Q5. Explain static blocks in Java ?Core Java
Anonymous
Ans. A static initialization block is a normal block of code enclosed in braces, { }, and preceded by the static keyword. Here is an example:

static {
// whatever code is needed for initialization goes here
}

A class can have any number of static initialization blocks, and they can appear anywhere in the class body. The runtime system guarantees that static initialization blocks are called in the order that they appear in the source code.

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

   Like      Discuss      Correct / Improve     java   oops   static   static block     Daffodil  Visa Inc  Logica  DataMetica  Tech Mahindra  Nagarvision  3i infotech  CA Technologies  HexaView Technologies  Propellum Infotech  DataMetica  VMC Consulting  Tavant  Novelvox  InfoGain      basic        frequent


 Q6. What is a ConcurrentHashMap ?Core Java
Admin
info@buggybread.com
Ans. ConcurrentHashMap is a hashMap that allows concurrent modifications from multiple threads as there can be multiple locks on the same hashmap.

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

   Like      Discuss      Correct / Improve     java   collections   hashmap   map   concurrenthashmap   concurrenthashmap  concurrency   general electric   ge     Cognizant (CTS)  Synechron  General Electric  MakeMyTrip.com  Nomura Securities  Xpanxion  Royal Bank of Scotland (RBS)  ProKarma  Talentica  Citi  EdgeVerve Systems  Six Dee Telecom  ReqRoute  Qumulo  Goldman Sachs  HSBC Holdings  AlertMe.com  BlackRock  Helpchat  Bally Technologies  Hubzu  Xpanxion  Coromandel Infotech  Paytm  YuMe  InfoGain  Markit  Wells Fargo  Geometric  Acloudzyn Technologies  Roposo  Nagarvision        rare


  Q7. Explain OOps concepts.Core Java2017-12-25 17:29:13

Ans. There are four main OOP concepts in Java. These are:

Abstraction. Abstraction means using simple things to represent complexity. We all know how to turn the TV on, but we don?t need to know how it works in order to enjoy it. In Java, abstraction means simple things like objects, classes, and variables represent more complex underlying code and data. This is important because it lets avoid repeating the same work multiple times.

Encapsulation. This is the practice of keeping fields within a class private, then providing access to them via public methods. It?s a protective barrier that keeps the data and code safe within the class itself. This way, we can re-use objects like code components or variables without allowing open access to the data system-wide.

Inheritance. This is a special feature of Object Oriented Programming in Java. It lets programmers create new classes that share some of the attributes of existing classes. This lets us build on previous work without reinventing the wheel.

Polymorphism. This Java OOP concept lets programmers use the same word to mean different things in different contexts. One form of polymorphism in Java is method overloading. That?s when different meanings are implied by the code itself. The other form is method overriding. That?s when the different meanings are implied by the values of the supplied variables. See more on this below.

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

   Like      Discuss      Correct / Improve     oops  oops concepts     Clarivate Analytics  Neterson Technologies  Infogain  Deegit  HCL Technologies  Tata Consultancy (TCS)  Infosys Technologies  Mastercard  Priceline  General Atomics      basic        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: