Exception in Inheritance

Case 1 : Parent class throwing any exception(checked/unchecked) a) Exception thrown in the parent class’s method is checked type. If the exception is thrown by the parent’s class method then child class’s overridden method may not be required to throw the exception (not mandatory but it can throw) class Parent{         void […]

Share this article on

Multithreading in java

It says multiple tasks can be done at a time but actually its not exactly like that. It will keep the cpu idle time less. Because cpu will have a responsibility to execute many threads if we Use multithreading. If its single threaded application then it might keep the cpu idle for some time and […]

Share this article on
< Previous Next >