Multithreading Part 01Introduction Task - Single unit of work Multi - Multiple Multi-tasking: performing multiple tasks Process An entire application is called as a process Thread A thread is a basic unit of CPU utilization, consisting of a program counter, a stack...Dec 23, 2022·1 min read
Exception Handling Part 01Introduction Compile Time error occurs when we have a syntactical error A runtime error occurs when we get at runtime after the code is successfully compiled this is called also called an exception This basically implies that the byte code of the ...Dec 14, 2022·1 min read
Packages In JavaIntroduction Package is an encapsulation mechanism to group all the related classes and interface in a single module While using inbuilt classes also, internally sun microsystem has used the packages to keep the classes. Advantages Of Using Pack...Dec 13, 2022·2 min read
Functional InterfaceFunctional Interface If an interface has only one abstract method in it then such an interface is called as a functional interface We can give the implementation using a lambda expression, anonymous inner class We can also implement it using other...Dec 12, 2022·2 min read
Abstraction & InterfacesAbstraction It is basically hiding the implementation and can be achieved in 2 ways a. Abstract class ( 0 -100 %) of abstraction b. Interfaces (100%) of abstraction Interfaces An interface is a completely "abstract class" that is used to ...Dec 11, 2022·2 min read
AbstractionIntroduction Abstraction is the concept of object-oriented programming that “shows” only essential attributes and “hides” unnecessary information. Abstraction is selecting data from a larger pool to show only relevant details of the object to the us...Dec 10, 2022·2 min read
Aggreation & CompositionMany to 1 class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); Branch object= new Branch("extc",1234);// first always create dependent object Student object_Student1= new Stu...Dec 10, 2022·1 min read