Immutable Classes in Java
Learn about immutable objects, records and collections in Java and create a Java class immutable step by step with examples.
“Core Java” is Sun’s term, used to refer to Java SE, the standard edition and a set of related technologies, like the Java VM, CORBA, etc. This is mostly to differentiate from others like Java ME or Java EE. “Core Java” is Oracle’s definition and refers to subset of Java SE technologies.
The Core Java technologies and application programming interfaces (APIs) are the foundation of the Java Platform, Standard Edition (Java SE). They are used in all classes of Java programming, from desktop applications to Java EE applications.
Learn about immutable objects, records and collections in Java and create a Java class immutable step by step with examples.
All of us must have gone though interview questions related to String class in java. These String interview questions range from immutability to memory leak issues.
Easy to follow examples of sorting a collection of objects in any order using Comparable or Comparator Interfaces.
Java ThreadPoolExecutor & BlockingQueue example to run a demo task with fixed size thread pool. Also, learn to use RejectedExecutionHandler.
In Java, abstraction and encapsulation help in creating abstract actors in the system. Encapsulation is the realization of abstraction.
Learn about java abstract classes vs interfaces in detail and when to use interfaces and abstract classes in solving design issues in Java 8.
In simple words, java abstraction captures only those details about an object that is relevant to the current perspective. Learn more about abstraction in java.
Learn to create a deadlock in Java programmatically, with an example. Also, learn to detect deadlock and how to solve a deadlock situation.
Learn how hashmap works internally in java with example. Learn the hashmap internal implementation analysis, collision resolution and Java 8 hashmap update.
HowToDoInJava provides tutorials and how-to guides on Java and related technologies.
It also shares the best practices, algorithms & solutions and frequently asked interview questions.