Write some code to print extract words from a piece of text. Analyse the words found and print out some metrics e.g. average word length, most common word length etc...
Java Lead Interview Questions
18,797 java lead interview questions shared by candidates
1. Find the frequency of each word occured in the given string. Eg. Bitter bitter B-2 i-2 t-4 e-2 r-2 2. Program to find lucky number. 3. Java program to merge two arrays in third array in ascending order.
wap input is a3b5c2 and o/p is aaabbbbbcc
Collection, Data Structures, API, JAVA 10+, JPA, JSP
First round Apti - 10 Numerical 25 Java based MCQ second round interview- interviewer was good . question- array list program find second highest salary what is JSP and syntax what is servlet and their services questions on string class polymorphism exception handling
Basic hr interview questions and basics of Java
Write a program to get an int value as argument and return it as string. For example, if I give the number 3456 as int, it should return the same number 3456 but as an object of String. You cannot use Java API methods.
4 16 64 256 solve using for loop.
Technical Questions: 1. Three pillars of OOP with explanation of each 2. Final Keyword in Java 3. Abstract Class & Interface difference 4. JSP & Servlets difference 5. What is meant by immutability in Java? 6. Multi-threading - Sleep vs Yield? 7. What is a design pattern and name some. Explain Singleton Design Pattern? 8. protected keyword in access modifiers 9. Continue vs break statement 10. Describe MVC? 11. StringBuffer vs StringBuilder? 12. One logic/algo question: Inserting an element at proper position in a sorted array. They will focus on the very basic logic design like loops, function and their arguments.
Fibonacci implementation
Viewing 61 - 70 interview questions