Blog Archives
1 21 22 23 24 25 26 27 28

Q01-Q07 written test questions and answers on core Java

Written tests can help short-list candidates and often used by recruitment agencies  and prospective employers. Here are some popular written test questions and answers. Note: Multiple choice questions may have more than one right answers. Q1. What will be the output of the following code snippet? … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Q01-Q28: Top 50+ FAQ JEE interview Q&As

Java interview questions & answers on EE (i.e. Enterprise Edition) with lots of diagrams & code to quickly grasp the concepts for the beginner to advanced Java developers. It pays to brush-up before attending Java job interviews. Q1. Can you describe the high level architecture of the application that you...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Q08 – Q15 Hibernate interview Q&As

Extends 15+ Hibernate interview questions & answers – Q1 – Q7. Hibernate interview questions & answers with diagrams & code snippets to not only prepare for the job interviews, but also to easily grasp the concepts Q9. Explain hibernate object states? Explain hibernate objects life cycle? … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Q08-Q15 written test questions and answers on core Java

Q8. What will be the statement you add so that you invoke Abc’s process( ) method?

A8. super.process( ) will invoke parent class’s process( ) method. … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Q1 – Q10 Java OOPs interview Q&As

If you don’t get Java OOPs interview questions & answers right in the job interviews you can say OOPS !!!! to your Java interview success. Q1. Is Java a 100% Object Oriented (OO) language? if yes why? and if no, why not? A1. … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Q16-Q24 written test questions and answers on core Java

Q16. If there is a source array list with 15MB of data, and the you create a new target empty array list and copy the source to target with target.addAll(source). How much memory will be consumed after invoking the addAll(…) method? A16. … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Q29-Q53: Top 50+ FAQ JEE Interview Q&As

This extends Q1 – Q28 EE Java interview Questions and Answers Q29. What are the different ways can you wire up your dependencies using Spring? A29. 3 different ways. You can combine all 3 ways. Using an XML based application context file as demonstrated here in STEP 4 . …...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


QoS & SLAs interview Q&As on Availability, Serviceability, Fault tolerance & Disaster Recoverability – Non Functional Requirements

Q1. What are the system qualities that typically form a basis for QoS requirements? A1. Quality of service (QoS) covers Non Functional requirements such as As microservices use disparate datasources like SQL store, NoSQL store, Cache, Object store like AWS S3, … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Queue from scratch Java example

Q. If Java did not have a Queue implementation, how would you go about implementing your own? A. A queue can be implemented in a similar fashion to a stack by declaring a backingArray, a frontIndex, a backIndex, and a currentSize. Initialize the frontIndex to 0 and the backIndex to...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Quick Sort in Java

Q. Is there a more efficient sorting algorithm than bubble sorting? A. Although bubble-sort is one of the simplest sorting algorithms, it’s also one of the slowest. It has the O(n2) time complexity. Faster algorithms include quick-sort and heap-sort. The Arrays.sort( ) method uses the quick-sort algorithm, … Read more...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Recursion Vs Tail Recursion

Q1. Can you write a sample code that will count the number of “A”s in a given text? Show iterative, recursive, and tail recursive approaches?

“AAA rating”

A1.

Iteration

Recursion

Many find it harder to understand recursion,

Read more ›



Regular Expressions interview Q&As for Java developers

Q1 What’s the difference between a wildcard and a regular expression? A1 A wildcard is a generic term referring to something that can be substituted for all possibilities. In computer terms, usually a simple “wildcard” is just a * that can match one or more characters, … Read more ›...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


Reverse a given String

Q1. Can you write a method that reverses a given String? A1. Can be done a number of different ways. Best Practice: Using the Proven Java API

It is always a best practice to reuse the API methods as shown above with the StringBuilder(input).reverse( ) method as it is...

This content is for 100-Day-Full-Access, 200-Day-Full-Access, 365-Day-Full-Access, and 2-Year-Full-Access members only. Register 50+ Free Java FAQs 50+ Free Big Data FAQs
Already a member? Log in here


1 21 22 23 24 25 26 27 28

300+ Java Interview FAQs

Tutorials on Java & Big Data