Write a program to brake singleton pattern and how to prevent it. Wirte a program to count the number of occurrences of characters in a String. Write circuit breaker pattern in case of microservices.
Java Senior Interview Questions
6,034 java senior interview questions shared by candidates
Interviewer asked questions on core java, collections, SQL Joins, Design patterns. Some scenario based questions but I did not understand since the interviewer did not that good english. This was though some staffing agency.
Round1: Focus on Microservices: 1. Code for Feign Client Interface 2. Code for Rest Template 3. POST API with all annotations and detailed code. 4. Java8 Features Round 2: 1. String s =null; Sout(s); Sout(s.lenght); What would be the output? 2. How do we prevent nullpointer in above scenario? 3. Java8 Program: Return first employee with a salary greater than 100000 . If no such employee exists, then null is returned. 4. Kafka Partitions and Topics. 5. AWS services used? Round 3: Basic HR questioner.
The design patterns of microservices
Core Java Questions, SpringBoot Annotation, Stream API question, Java
how we handle deployment process in current organisation?
What is a Concurrent hashmap
All questions based on resume
Ask me question about the company and position and will evaluate you by your questions?
How do you handle concurrent modifications to a collection using the ConcurrentHashMap and CopyOnWriteArrayList?
Viewing 3761 - 3770 interview questions