Add office photos
Premium Employer

HCLTech

3.6
based on 31.8k Reviews

Top 155 Interview Questions and Answers 2024

Updated on 20 Jul 2024
Q1. Nth Fibonacci Number Nth term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula - F(n) = F(n-1) + F(n-2), Where, F(1) = F(2) = 1 Provided N you have to find out the Nth Fibonacci Number. Input Format : The first line of each test case contains a real number ‘N’. Output Format : For each test case, return its equivalent Fibonacci number. Constraints: 1 ...read more
View Answers (4)
Q2. Reverse the array Given an array with N elements, the task is to reverse all the array elements and print the reversed array. Input Format: The first line contains an integer N representing the size of the array. The second line contains N space-separated integers representing the elements of the array. Output Format: The only line of the output prints N space-separated integers representing the Reversed array elements. Constraints: 1 ...read more
View Answers (2)
Q3. Why you choose Machine Learning (during Workshop) ?...read more
View Answers (11)
Discover interview dos and don'ts from real experiences
Q4. what's difference between server.transfer and Response.redirect...read more
View Answers (6)
Q5. What is final keyword? Differentiate between final and static....read more
View Answers (4)
Q6. Oops Difference between classes and interfaces, use of getter and setters, instance variable vs local variable, encapsulation, do multiple catch block exist, use of final keyword, stringbuffer vs stringbuilder, string constant pool, abstract vs interface, hashset, internal working of hashmap, reflection in java, use of Markable interface, serialization, array vs arraylist...read more
View Answer (1)
Share interview questions and help millions of jobseekers 🌟
Q7. What is the difference between Abstarct Class and Interface ?...read more
View Answers (5)
Q8. What is JDK JRE JVM ? Java8 features...read more
View Answers (8)
Q9. What is the difference between C,Java?...read more
View Answers (9)
Q10. What is difference between microcontroller and microprocessor?...read more
View Answer (1)
Q11. Spring boot: Various Annotations, Difference b/w @RestController vs @Controller , @Bean vs @Component, @RequestMapping vs @GetMapping, ...read more
View Answer (1)
Q12. What's copy constructor why it is needed to pass by reference...read more
View Answers (2)
Q13. String builder and string buffer When we create Arrays and when we create linked lists Treeset in Java Java 8 features Static keyword Dynamic method dispatch How to make a immutable class in Java Marker Interface Intraface...read more
View Answer (1)
Q14. What is oops? Explain about oops? What is .net framework? What is page lifecycle? What is mvc?. Explain about mvc patterns?. Explain table, store procedure, views, functions in SQL?...read more
View Answer (1)
Q15. Problem about virtual function and explain it with vtable and vptr how it will work how it will work when child is pointing to base class...read more
View Answer (1)
Q16. In 5 programs without effecting one by one how can you debug a particular program and how can you know tha program is calling in debug...read more
View Answer (1)
Q17. what is second level cache?How to implement second level cache?How to optimize sql query?what are solid principles?...read more
View Answer (1)
Q18. What string pool in java and why string is immutable...read more
View Answers (2)
Q19. 2. What is the difference between object oriented programming language and procedure oriented programming language?...read more
View Answer (1)
Q20. What is difference between structure and array?...read more
View Answer (1)
1
2
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Share Interview Advice
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 Lakh+

Reviews

4 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 © 2023 Info Edge (India) Ltd.

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