Add office photos
Employer?
Claim Account for FREE

Netwin Systems & Software

4.1
based on 35 Reviews
Filter interviews by

Midtown Software Interview Questions and Answers

Updated 23 Feb 2024

Q1. How can we create object of class of private constructor?

Ans.

You can create an object of a class with a private constructor by using a static method within the class.

  • Create a static method within the class that returns an instance of the class.

  • Call the static method to create an object of the class.

Add your answer

Q2. SQL query to fetch first 10 rows from the table

Ans.

SQL query to fetch first 10 rows from the table

  • Use SELECT statement

  • Add LIMIT clause with 10 as argument

  • Optionally, use ORDER BY clause for specific order

Add your answer

Q3. Can we make constructor private ?

Ans.

Yes, we can make a constructor private in Java.

  • Private constructors are used to prevent instantiation of a class from outside the class itself.

  • Private constructors are commonly used in singleton design pattern.

  • Private constructors can be used in utility classes where all methods are static and no instance creation is needed.

View 1 answer

Q4. Non aggregate functions in sql

Ans.

Non-aggregate functions in SQL are used to manipulate individual data values.

  • Non-aggregate functions operate on individual data values, rather than groups of values.

  • Examples include string functions (e.g. CONCAT, SUBSTRING), date functions (e.g. DATEADD, DATEDIFF), and mathematical functions (e.g. ABS, ROUND).

  • These functions can be used in SELECT, WHERE, and ORDER BY clauses to manipulate data.

  • Non-aggregate functions can also be used in conjunction with aggregate functions to...read more

Add your answer
Discover Midtown Software interview dos and don'ts from real experiences

Q5. How can you secure api

Ans.

Securing an API involves using authentication, authorization, encryption, and input validation.

  • Use authentication methods like OAuth, JWT, or API keys to verify the identity of clients accessing the API.

  • Implement authorization to control what actions different users can perform within the API.

  • Encrypt data transmission using HTTPS to protect sensitive information from being intercepted.

  • Validate and sanitize input data to prevent common security vulnerabilities like SQL injecti...read more

Add your answer

Q6. What is Have clause?

Ans.

HAVING clause is used in SQL to filter the results of a GROUP BY clause.

  • Used with GROUP BY to filter grouped results

  • Filters rows after grouping

  • Similar to WHERE clause but operates on grouped data

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

Interview Process at Midtown Software

based on 6 interviews
Interview experience
4.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.8
 • 3.9k Interview Questions
3.7
 • 419 Interview Questions
3.7
 • 401 Interview Questions
3.8
 • 331 Interview Questions
4.1
 • 272 Interview Questions
4.1
 • 231 Interview Questions
View all
Top Netwin Systems & Software Interview Questions And Answers
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