Learn Full Stack
Introduction An exception represents an error condition that can occur during the normal course of program execution. When an exception occurs, it is said to be thrown. When it is thrown, the normal flow of the program terminates and the exception handling block will be executed. The execution handling block is the catch block. This… Read more
What is a thread? It is a unit of a process. Example:Let use take a scenario where multiplying an array of a thousand numbers with 2. If each operation takes 1 second, it would take a 1000 seconds to complete the whole task. With the help of threads, we can cut the time significantly. Threads… Read more
Whats a status code? A status code is a part of the result of an http request that contains a 3-digit integer where the first digit of the Status-Code defines the class of response and the last two digits do not have any categorization role. Why String class is immutable in Java?[Good] String class is… Read more
Can you give me an example of method overriding? Method overriding occurs when a method is inherited from a parent class but the programmer changes its behavior to something else. An animal class has the method eat(). A dog class extending the animal class and will inherit the method eat(). But the dog however will… Read more
Follow My Blog
Get new content delivered directly to your inbox.