Add office photos
Engaged Employer

MindGate Solutions

3.2
based on 255 Reviews
Filter interviews by

10+ Cloudnine Hospital Interview Questions and Answers

Updated 9 Sep 2024
Popular Designations

Q1. Explain how Java program execute?

Ans.

Java programs are executed by the Java Virtual Machine (JVM) which interprets and executes the bytecode generated by the Java compiler.

  • Java source code is compiled into bytecode by the Java compiler

  • The bytecode is platform-independent and can be executed on any device with a JVM

  • The JVM interprets the bytecode and executes the instructions

  • The JVM manages memory, handles exceptions, and provides other runtime services

  • Example: javac HelloWorld.java -> java HelloWorld

View 1 answer

Q2. Why Java is most secured!?

Ans.

Java is most secured due to its strong memory management, bytecode verification, and security manager.

  • Java's strong memory management prevents buffer overflow and other memory-related vulnerabilities.

  • Bytecode verification ensures that the code is safe to execute and prevents malicious code from running.

  • Security manager allows fine-grained control over access to system resources.

  • Java also has a robust set of security APIs and tools for encryption, authentication, and authoriza...read more

Add your answer

Q3. What is sub query and Like operator?

Ans.

A subquery is a query nested within another query, and the LIKE operator is used in SQL to search for a specified pattern in a column.

  • A subquery is enclosed in parentheses and executed first before the main query.

  • The result of a subquery can be used in comparison with the main query's result.

  • The LIKE operator is used with the WHERE clause to search for a specified pattern in a column.

  • The LIKE operator allows for wildcard characters such as % (matches any sequence of character...read more

Add your answer

Q4. Count the number of repeated words from the given string

Ans.

Count the number of repeated words in a given string

  • Split the string into words using a delimiter like space

  • Create a hashmap to store word frequencies

  • Iterate through the words and update the hashmap accordingly

  • Count the number of words with frequency greater than 1

Add your answer
Discover Cloudnine Hospital interview dos and don'ts from real experiences

Q5. What is four pillars of oops concepts

Ans.

Encapsulation, Inheritance, Polymorphism, Abstraction

  • Encapsulation: Bundling data and methods that operate on the data into a single unit

  • Inheritance: Ability of a class to inherit properties and behavior from another class

  • Polymorphism: Ability to present the same interface for different data types

  • Abstraction: Hiding the complex implementation details and showing only the necessary features

Add your answer

Q6. Data base connection in sprinh boot

Ans.

Database connection in Spring Boot is configured using application.properties or application.yml file.

  • Define database connection properties in application.properties or application.yml file

  • Use @EnableJpaRepositories annotation to enable JPA repositories

  • Use @Entity annotation to define entity classes

  • Use @Autowired annotation to inject the DataSource or EntityManager

Add your answer

Q7. What is abstract class?

Ans.

Abstract class is a class that cannot be instantiated and may contain abstract methods.

  • Cannot be instantiated directly

  • May contain abstract methods that must be implemented by subclasses

  • Can have both abstract and non-abstract methods

  • Used for creating a template for other classes to inherit from

Add your answer

Q8. Why strings are immutable

Ans.

Strings are immutable to ensure data integrity and security by preventing accidental or intentional modification.

  • Immutable strings prevent accidental changes to data

  • Enhances security by preventing data tampering

  • Allows for efficient memory management

Add your answer

Q9. Different between array and collection

Ans.

Arrays are fixed in size and store elements of the same data type, while collections are dynamic in size and can store elements of different data types.

  • Arrays have a fixed size, while collections can dynamically resize.

  • Arrays store elements of the same data type, while collections can store elements of different data types.

  • Arrays use indexes to access elements, while collections use iterators or other methods.

  • Examples: Array - int[] numbers = {1, 2, 3}; Collection - List name...read more

Add your answer

Q10. Explain stream api

Ans.

Stream API is a feature in Java that allows processing collections of objects in a functional style.

  • Stream API provides a way to perform operations on a collection of objects in a declarative way.

  • It supports functional-style operations like map, filter, reduce, and forEach.

  • Streams can be created from various sources like collections, arrays, or I/O channels.

  • Stream operations are lazy, meaning they are only executed when a terminal operation is called.

  • Stream API promotes immut...read more

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

Interview Process at Cloudnine Hospital

based on 8 interviews in the last 1 year
1 Interview rounds
Technical 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.8
 • 46 Interview Questions
4.3
 • 30 Interview Questions
3.7
 • 25 Interview Questions
4.1
 • 14 Interview Questions
3.8
 • 14 Interview Questions
3.2
 • 13 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
Get AmbitionBox app

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