Core JAVA Archive
In java Integer is a wrapper class of int. As of Java 5, java provide automatic conversion to int to Integer and Integer to int, it also called Auto-boxing feature of java. But converting String …
In Java auto-boxing is very interested feature which automatically covert int to Integer, long to Long, float to Float etc. This feature introduced was introduced in the JAVA 5. Any developer want to compare the …
We can remove duplicate items from ArrayList in java by simply converting ArrayList into Set in Java. But Set does not maintain insertion order as by List. So whenever we will convert ArrayList to HashSet …
Here I have categorized core java interviews questions and answers for fresher and experience developer in Basics of core java interview questions, OOPs interview questions, String Handling interview questions, Multi-threading interview questions, collection interview questions, …
This is very common question in core java interview for entry level programmer so let’s discuss some important point of difference as below: Difference between interfaces and abstract classes abstract class interface Abstract class may …
In java hashCode() and equals() methods have been defined in Object class which is parent class for java objects that means all classes in Java inherit these methods. Object class implements these methods for general …
In java main() method is special method, it is entry point for launching core java application not like servlet and other containers. In Core java application we run the application then JVM search for public …