Rudradev Das has Published 80 Articles

Containerizing Java applications

Rudradev Das

Rudradev Das

Updated on 19-Jan-2024 18:48:58

40 Views

Containerization is a Java embedded process, which is able to pack the Java service or an application within a software container class. It includes every component which needs to execute the process within the packet. Containerized Java applications have lots of benefits with − Granullar stability − It makes ... Read More

Primitive data type vs. Object data type in Java with Examples

Rudradev Das

Rudradev Das

Updated on 19-Jan-2024 18:45:00

97 Views

In a Java environment, every variable contains with some data types, which specify the value and type of a sorted identifier. There are two categories − Primitive Data type Non-Primitive Data type or Object data type The primitive data types are some predefined data types with some specific ... Read More

Convert byte[] array to File using Java

Rudradev Das

Rudradev Das

Updated on 19-Jan-2024 18:40:44

233 Views

The file class is a representation of directory path name in Java with different formats on different platforms. The file class contains the method of different path name which is responsible for deleting and renaming files by using the new directories. It is an abstract class in a string formation ... Read More

Convert ArrayList to LinkedHashMap in Java

Rudradev Das

Rudradev Das

Updated on 19-Jan-2024 18:29:56

89 Views

The LinkedHashMap Class is an one type of Hash Map which enables an user to maintain a systematic cronology of the elements present into it. This feature also provides the method of insertion, search and deletion in a quick manner. When we need to convert an array list to a ... Read More

Convert ArrayList to HashMap in Java

Rudradev Das

Rudradev Das

Updated on 19-Jan-2024 18:24:42

141 Views

In Java the List is a child interface class which can also represents a Collection set. It is an ordered collection set, consists of the objects where duplicate values can be sorted also. Java array list is a collection framework as it presents into the java.util package and provides the ... Read More

Constructor Chaining In Java programming

Rudradev Das

Rudradev Das

Updated on 29-Dec-2023 18:36:32

513 Views

The constructor chaining is a particular sequence of injecting constructors when an user initialize an object in a particular method. This process can be used when we invoke a bulk number of constructors one by one only on the basis of the instance class. This process is an another method linked with the ... Read More

ConcurrentModificationException while using Iterator in Java

Rudradev Das

Rudradev Das

Updated on 29-Dec-2023 16:35:41

117 Views

If any particular method encountered the concurrent in a multi threaded Java environment during the resource detection then the ConcurrentModificationException might be thrown. In this process the object is a non permissible unit here. Here is an example related to the ConcurrentModificationException in Java − Exception in thread "main" java.util.ConcurrentModificationException at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:000) at java.base/java.util.ArrayList$Itr.next(ArrayList.java:000) atcom.journaldev.ConcurrentModificationException.ConcurrentModificationExceptio nExample.main(ConcurrentModificationExceptionExample.java:00) For this particular ... Read More

ConcurrentModificationException in Java with Examples

Rudradev Das

Rudradev Das

Updated on 29-Dec-2023 16:30:42

41 Views

If any particular method encountered the concurrent in a multi threaded Java environment during the resource detection then the ConcurrentModificationException might be thrown. In this process the object is a non permissible unit here. Here is an example related to the ConcurrentModificationException in Java − Exception in thread "main" java.util.ConcurrentModificationException at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:000) at java.base/java.util.ArrayList$Itr.next(ArrayList.java:000) atcom.journaldev.ConcurrentModificationException.ConcurrentModificationExceptio nExample.main(ConcurrentModificationExceptionExample.java:00) For this particular ... Read More

Concrete Class in Java

Rudradev Das

Rudradev Das

Updated on 29-Dec-2023 16:22:49

61 Views

The concrete class is a base regular implementation which is declared initially for the all other methods related to it. This class do not have any unimplemented method, which is also can be extended to an abstract class on an interface class. We can create an object class by using ... Read More

Compressing and Decompressing files in Java

Rudradev Das

Rudradev Das

Updated on 29-Dec-2023 16:20:04

78 Views

Reading data of a particular file and and compress some files into a zip, is a process of encapsulation in Java. There are two compressing and decompressing classes in a Java environment, which provides the data deflate compression format. They are − DeflaterOutputStream class − used to compress the ... Read More

1 2 3 4 5 ... 8 Next
Advertisements