Design - Interview Questions and Answers for 'Atos' - 4 question(s) found - Order By Newest Very Frequently asked. Have been asked in HCL Technologies very frequently ( based on 3 feedback ). Among first few questions in many interviews.
Q1. Differences between abstract class and interface ? Core Java
Admin email@example.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 : VIDEO Like Discuss Correct / Improve java classes abstract class interfaces GlobalLogic HCL Technologies Tata Consultancy (TCS) Infosys Wipro Mindtree CapitalOne Accenture 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 basic   frequent Related Questions What are the different uses of Interfaces in Java ? Why can't we have diamond problem with interfaces ? What are Marker Interfaces ? Name few Java marker interfaces ? Why do we need Thread class even in case we execute thread using runnable interface ? Which of the following doesn't extend Collection interface ? If an Abstract class has only abstract methods, What's the difference between such a class and an interface ? What is an API ( Application Programming Interface ) ? Can we declare interface methods as private ? What is a nested interface ?
Q2. Design ATM machine application using oops. Design 2018-03-28 10:42:04 This question was recently asked at 'Atos'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve Atos Related Questions Difference between == and .equals() ? Why is String immutable in Java ? Explain the scenerios to choose between String , StringBuilder and StringBuffer ?
What is the difference between String , StringBuilder and StringBuffer ? What are the difference between composition and inheritance in Java? What do you mean by "Java is a statically typed language" ? Why do we need Inner classes ? Cant we just work with outer classes wherever we implement Inner classes ? What are different ways of object creation in Java ? What are points to consider in terms of access modifier when we are overriding any method? What is the difference between declaration, instantiation and initialization ? What are the common uses of "this" keyword in java ?
Q3. Which of the following is true for == operator ? Core Java a. For primitives, == checks if the variables on left and right have same data type b. For primitives, == checks if the variables on left and right have same value c. For Objects, == checks if the references on left and right have same data type d. For Objects, == checks if the references on left and right have same value Ans.b. For primitives, == checks if the variables on left and right have same value
Q4. Which of the following is equivalent to following logic ?
Not X && Not Y Core Java a. x || Y b. Not(X || Y) c. Not(X && Y) d. Not X && Y Ans.b. Not(X || Y)