List Interface in Java Collection
Introduction In this article, we are going to discuss Java List Interface their types and methods. We can also discuss all methods with programming examples. This topic is very important because in every interview some questions are coming related to this topic. so we need to understand all the things on this topic. List …. Read More
Collection Interface in Java
Introduction: In this article, we are going to discuss Collection Interface in Java their types and methods. We can also discuss all methods with programming examples. This topic is very important because in every interview some questions are coming related to this topic. so we need to understand all the things on this topic. …. Read More
Collections in java
In this article, we are going to discuss Collections in Java uses. What are the advantages of collection in java? Why we need Collections in java and where we use it. The need for Collection: Array: An Array is an indexed collection of a fixed number of homogeneous data elements. Using arrays the main advantage …. Read More
Inner Class in Java
Introduction Inner class in Java means a class is declared inside another class that type of class is called inner classes. Inner class in Java introduced in 1.1 version as part of “EventHandling” to resolve GUI bugs. Inner classes are very powerful features and also so many benefits that’s why nowadays programmers start using regular …. Read More
Garbage Collection in java
In this article, we are going to discuss Garbage Collection in java and the Advantages of Garbage Collection in java. Advantages of Garbage Collection in java. The ways to make an object eligible for GC The methods for requesting JVM to run GC Finalization We can discuss all method for calling GC This topic is …. Read More
Class loaders in java
In this article, we are going to discuss Class loaders in java types of ClassLoaders. We can also discuss how the classloader works. Class loaders in java are very important because sometimes this topic comes in an interview. and they are using about how classloader is working and how many ways we can upload class …. Read More
Exceptions in Java
In this article, we are going to discuss Exceptions in Java. And following topics. What is the meaning of exception handling? Default exception handling in java Hierarchy of Java Exception classes Different Between Exception and Error Types of Java Exceptions Checked Vs Unchecked Exceptions Fully checked Vs Partially checked Introduction: Exception: An exception is …. Read More
Multithreading in Java and
In this article, we are going to discuss Multithreading in Java and types. What is the thread Multitasking Process-based Multitasking (Multiprocessing) Thread-based Multitasking (Multithreading) Introduction In java, Multithreading means multiple threads executing simultaneously in a process is called Multithreading. By definition, multitasking is when multiple processes share common processing resources such as a CPU. …. Read More
Inter-thread communication in Java
What is Inter-thread communication? When two threads will communicate with each other is called Inter-thread communication. Two threads will communicate with each other by using wait(), notify(), notifyAll() methods. wait(), notify(), notifyAll() methods are available in Object class, but not in threads class. Because the thread is required to call these methods on any shared …. Read More
Synchronization in Java
Synchronization in Java: Introduction Synchronization in Java is an important concept since Java is a multi-threaded language, It has the capability to control the access of multiple threads to any shared resource. Synchronization in Java is possible by using Java keywords “synchronized”. It is a better option when the requirement is only one thread to …. Read More