Kernal coding? Security code?
Java Developer Interviews
Java Developer Interview Questions
In your interview for a java developer position, be prepared to answer technical questions that test your understanding of Java basics. Interviewers may also ask open-ended questions to assess your coding and problem-solving abilities. Prepare for non-technical questions that focus on time management, interpersonal communication, and work ethic.
Top Java Developer Interview Questions & How to Answer
Question #1: What is the difference between HashTable and HashMap in Java?
Question #2: Write a program to determine if 243 is an Armstrong number.
Question #3: How do you produce quality code when you have several Java projects to complete at once?
30,900 java developer interview questions shared by candidates
1.Explain Project Architecture 2.Why you want to join Allstate, What is the reason to leave previous company, Salary Negotiation
How to use Object as key in hashmap?
Sort an array (in size N) of numbers between 0-100.
Write a controller class with the CRUD operations
How to provide same method implementation for classes implementing an interface
About Current Company? Why Job change? Java related Question?
Questions were general like on Spring, Core Java, microservices.
Bubbled sort, palindrome, java8 Stream program, create own Linked list and some java core concepts and spring boot concepts
You are given an array of words (strings) and an integer k k k. Your task is to write a function that returns the k k k longest words from the array. If there are fewer than k k k words in the array, return all the words sorted by length in descending order. If there are ties in length, return the words in alphabetical order. Input: An array of strings words[] where each string consists of lowercase and uppercase letters only. An integer k k k (1 ≤ k k k ≤ 100). Output: An array of the k k k longest words, sorted by length (and alphabetically if lengths are equal). Example: plaintextInput: words = ["apple", "banana", "kiwi", "grape", "watermelon"], k = 3 Output: ["watermelon", "banana", "apple"] Input: words = ["cat", "bat", "rat"], k = 5 Output: ["bat", "cat", "rat"] Constraints: The output array should not exceed k k k elements. You may assume that the input will always have at least one word.
Viewing 2491 - 2500 interview questions