Add office photos
Employer?
Claim Account for FREE

Syncfusion

3.5
based on 295 Reviews
Filter interviews by

Midland Healthcare & Research Center Interview Questions and Answers

Updated 5 Feb 2024

Q1. a=10,b=20 if(a==b) return a else if(a.equals(b)) return b else return a+b

Ans.

The code checks if a and b are equal. If not, it returns their sum.

  • The '==' operator checks for value equality, while the 'equals()' method checks for object equality.

  • In this case, since a and b are primitive types, the '==' operator is used.

  • If a and b are equal, the code returns a. Otherwise, it checks if they are equal as objects using 'equals()'.

  • If they are equal as objects, it returns b. Otherwise, it returns the sum of a and b.

View 4 more answers

Q2. what is private ,public, protect?

Ans.

Private, public, and protected are access modifiers in object-oriented programming.

  • Private members can only be accessed within the same class.

  • Public members can be accessed from anywhere.

  • Protected members can be accessed within the same class and its subclasses.

  • Access modifiers help control the visibility and accessibility of class members.

  • Example: class Person { private String name; public int age; protected String address; }

Add your answer

Q3. Def(numbers): if numbers>2 sum+= numbers return sum

Ans.

Explaining the Def function with a condition and summing up numbers greater than 2.

  • The Def function checks if the input number is greater than 2.

  • If it is, the number is added to the sum variable.

  • The final sum is returned as output.

  • For example, Def(1, 2, 3, 4) would return 7 (3+4).

Add your answer

Q4. what is ooops? what is abtract?

Ans.

Ooops is not a technical term. Abstract refers to a concept or idea rather than a specific instance.

  • Ooops is not a technical term used in software development.

  • Abstract refers to a concept or idea rather than a specific instance.

  • In object-oriented programming, abstract classes and methods are used to define a common interface for a group of related classes.

  • For example, a Shape class can be abstract and have methods like draw() and area() which are implemented by its subclasses...read more

Add your answer
Discover Midland Healthcare & Research Center interview dos and don'ts from real experiences

Q5. what is class and object?

Ans.

A class is a blueprint for creating objects. An object is an instance of a class.

  • A class is a template or blueprint that defines the properties and methods of an object

  • An object is an instance of a class that has its own state and behavior

  • Classes and objects are fundamental concepts in object-oriented programming

  • Example: A class 'Car' can have properties like 'color', 'model', and methods like 'start', 'stop'

  • Example: An object 'myCar' can be created from the 'Car' class with ...read more

Add your answer

Q6. what is jdk,jre,jvm?

Ans.

JDK is a development kit, JRE is a runtime environment, and JVM is a virtual machine for executing Java code.

  • JDK includes JRE and development tools like compiler and debugger

  • JRE includes JVM and necessary libraries to run Java applications

  • JVM is responsible for interpreting Java bytecode and executing it

  • Example: JDK 8 includes JRE 8 and tools like javac and jdb

  • Example: JRE 11 includes JVM 11 and libraries like rt.jar

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Midland Healthcare & Research Center

based on 14 interviews
2 Interview rounds
Aptitude Test Round
Coding Test Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

3.9
 • 96 Interview Questions
3.9
 • 17 Interview Questions
3.0
 • 14 Interview Questions
3.9
 • 13 Interview Questions
4.2
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter