Author: admin

Inner Class in Java

0 commentsBlog

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

Class loaders in java

0 commentsBlog

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

0 commentsBlog

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

0 commentsBlog

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

0 commentsBlog

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

0 commentsBlog

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

String in Java

0 commentsBlog

Introduction The string is one of the most widely used classes in java programming by developers. Strings are immutable, so StringBuffer and StringBuilder classes come to make the string mutable (manipulations) easy way.   String In Java, a string is an object which represents a sequence of characters. The string is immutable, which means it ….  Read More