Blog Posts - Java Interview Questions



How to Add Two Integers Without Using Arithmetic Operators in Java

Hi everyone, In this article, I am going to show you the solution of a commonly asked question in programming interviews. This question is the following: Calculate the sum of two integers a and b,... [[ This is a content summary only. Visit my webs...

40+ Essential Core Java Interview Questions - Updated Regularly!

Hey everyone,In this post I am going to share some valuable Core Java Interview Questions..These questions are not only good for practicing for your technical interviews, they are also good for improving your Java knowledge or remembering the details...

Short Interview Questions and Answers from Core Java

java is an Object  Oriented Programming Language. Which is mostly used to develop Windows based Software  as well as Web Based Project. It is good to have good knowledge about a programming language and practical knowledge fo...
by Computer Science Junction on Dec 27, 2015

5 Good Books for Java JEE Programming Job Interviews

If you are preparing for Java interviews then apart from blogs and articles, you should also take help of books specially written for Java interviews. Though nothing can substitute true job experience but the interview is little bit different beast.
by javarevisited on Dec 8, 2015

Top 20 Core Java Interview Questions and Answers from Investment Banks

Core Java Interview Question Answer This is a new series of sharing core Java interview question and answer on Finance domain and mostly on big Investment bank.Many of these Java interview questions are asked on JP Morgan, Morgan Stanley, Barclays or...
by javarevisited on Nov 5, 2015

JAVA TUTORIAL - Core Java Interview Questions And Answers

JAVA TUTORIAL - Core Java Interview Questions And AnswersIn this post we are helping students who are looking for the java tutorial and core java interview questions and answers. if you are searching for the core java interview questions and answers...
by bigg boss 9 on Nov 2, 2015

How to Find Missing Number on Integer Array of 1 to 100 - BitSet Example

One of the most frequently asked question on programming interviews is, write a program to find missing number in an array in Java, C# or any other language; depending upon which language you choose. This kind of coding interview questions are not on...
by javarevisited on Nov 28, 2014

Quicksort Sorting Algorithm in Java

Quicksort algorithm is one of the most used sorting algorithm, especially to sort large list and most of the programming languages, library have implemented it in one or another way. In Java, Arrays.sort() method sorts primitive data types using doub...
by javarevisited on Aug 28, 2014

How to find all Pairs in Array of Integers whose Sum is equal to a given Number

Practising coding problems are very important to do well in any programming interview. You should at your best on data-structures like array, linked list, and string to clear any programming interview, and believe me you can not do this in one day or...
by javarevisited on Aug 12, 2014

Difference between getPath(), getCanonicalPath() and getAbsolutePath() of File in Java

File API is very important one in Java, it gives access of File system to Java programs. Though Java's file API is rich, there are lot of subtleties to know when you use them. One of the common query programmer's has about file path is differ...
by javarevisited on Aug 8, 2014

Difference between WeakReference vs SoftReference vs PhantomReference vs Strong reference in Java

WeakReference and SoftReference were added into Java API from long time but not every Java programmer is familiar with it. Which means there is a gap between where and how to use WeakReference and SoftReference in Java. Reference classes are particu...
by javarevisited on Mar 25, 2014

How to Clone Collection in Java - Deep copy of ArrayList and HashSet

Programmer often mistook copy constructors provided by various collection classes, as a mean to clone Collection e.g. List, Set, ArrayList, HashSet or any other implementation. What is worth remembering is that, copy constructor of Collection in Java...
by javarevisited on Mar 11, 2014

JAVA: Singleton Pattern - Concept and 7 Most Popular Implementation Style

   Singleton in one of the most popular yet controversial design pattern, in the world of object oriented programming. It's one of those patterns, that every developer comes to know first and again it's one of of those patterns, that even e...
by JAVA INTERVIEW QUESTIONS on Feb 10, 2014

JAVA: Data Types Conversion Chart

      In Java Programming Language, we must declare a variable name and type, before using it. The data type of a variable defines the the type of value it will contain. Java supports total 8 types of primitive data types. The name of...
by JAVA INTERVIEW QUESTIONS on Jan 10, 2014

How to Remove Duplicates from Array without using Java Collection API

This is a coding questions recently asked to one of my reader in a Java Technical interview. Question was to remove duplicates from an integer array without using any collection API classes like Set or LinkedHashSet, which can make this task trivial.
by javarevisited on Jan 4, 2014

JAVA: Overloading and Overriding

Overloading:    Overloading is a popular technique of object oriented programming. It allows you to define a method with same name but with different parameters list.   Java identifies method by its name and signature. So, if the...
by JAVA INTERVIEW QUESTIONS on Sep 15, 2013

JAVA: Parse String to Double

Paser String to Double:You can parse a double value in string format to double in 4 ways.Double.valueof(String s) :  This method returns a double object containing the value invoked in it in string format.It can trim white-space in start or end...
by JAVA INTERVIEW QUESTIONS on Feb 14, 2013

FRAMEWORK: MVC – Model View Controller

Model-View-Controller (MVC) is a popular Software Architecture pattern widely used in web applications. It separates application data from UI (user interface) by a thin controlling layer, which actually helps as a bridge between UIs and model. In thi...
by JAVA INTERVIEW QUESTIONS on Feb 10, 2013

FRAMEWORK: WHAT IS FRAMEWORK? WHAT’S THE DIFFERENCE BETWEEN FRAMEWORK AND LIBRARY?

Framework: A framework is a basic conceptual and reusable structure which provides generic functionality, used to solve or address complex issues.A software frameworkprovides basic architecture, application programming interfaces (APIs) and tools for...
by JAVA INTERVIEW QUESTIONS on Jan 30, 2013

STRUTS: WHAT IS FRAMEWORK? WHAT’S THE DIFFERENCE BETWEEN FRAMEWORK AND LIBRARY?

Framework: A framework is a basic conceptual and reusable structure which provides generic functionality, used to solve or address complex issues.A software frameworkprovides basic architecture, application programming interfaces (APIs) and tools for...
by JAVA INTERVIEW QUESTIONS on Jan 28, 2013


Trending Topics

Close