300+ Useful Tools For Remote Work

300+ Useful Remote Working Tools For Distributed Teams from Codingcompiler. The selection of the right tools for effective remote work is very important in a distributed team environment. The right tools and applications allow effective team management, organization, planning, work control, remote task management, as well as monitoring their performance and subsequent settlement. Here we … Read more

12 Best Linux Distros For Beginners

Best Linux Distros For Beginners from Coding compiler blog. When it comes to developers, system admins and the fresher’s who want to begin their career in software development, Linux is the greatest platform.  Linux poses a great platform to deal with the complexity faced by beginners. It is open-source software, so you can access them in … Read more

20 Best Linux Distros For Developers

Best Linux Distros For Developer from Coding compiler blog. Linux is an open-source software to use and its friendly environments make individuals and business people use Linux. It is also a choice for the one who is actually looking for a very secure OS other than windows. It also supports many cloud services. For beginners, … Read more

Optional In Java Tutorial

Optional is a container object which may or may not contain a non-null value. If a value is present, isPresent() will return true and get() will return the value. Additional methods that depend on the presence of the contained value are provided, such as orElse(), which returns a default value if value not present, and … Read more

Alternative Collections in Java Tutorial

Multimap in Guava, Apache and Eclipse Collections This multimap allows duplicate key-value pairs. JDK analogs are HashMap, HashMap and so on. Examples using Multimap Task: Parse “Hello World! Hello All! Hi World!” string to separate words and print all indexes of every word using MultiMap (for example, Hello=[0, 2], World!=[1, 5] and so on) MultiValueMap … Read more

Documenting Java Code Tutorial

Documentation for java code is often generated using Javadoc. Javadoc was created by Sun Microsystems for the purpose of generating API documentation in HTML format from Java source code. Using the HTML format gives the convenience of being able to hyperlink related documents together. Building Javadocs From the Command Line Many IDEs provide support for … Read more

Interfaces In Java Tutorial

Java Interfaces Tutorial – An interface is a reference type, similar to a class, which can be declared by using the interface keyword. Interfaces can contain only constants, method signatures, default methods, static methods, and nested types. Method bodies exist only for default methods and static methods. Like abstract classes, Interfaces cannot be instantiated—they can … Read more

Scanner In Java Tutorial

In this Java Scanner Tutorial, we will learn about Java Scanner and its methods with the help of examples. Parameter Details Source Source could be either one of String, File or any kind of InputStream General Pattern that does most commonly asked about tasks The following is how to properly use the java.util.Scanner class to … Read more

New File I/O in Java with Examples

Creating paths The Path class is used to programmatically represent a path in the file system (and can therefore point to files as well as directories, even to non-existent ones) A path can be obtained using the helper class Paths: Path p1 = Paths.get(“/var/www”);Path p2 = Paths.get(URI.create(“file:///home/testuser/File.txt”));Path p3 = Paths.get(“C:\Users\DentAr\Documents\HHGTDG.odt”);Path p4 = Paths.get(“/home”, “arthur”, “files”, … Read more

Lambda Expressions in Java

Lambda expressions provide a clear and concise way of implementing a single-method interface using an expression. They allow you to reduce the amount of code you have to create and maintain. While similar toanonymous classes, they have no type information by themselves. Type inference needs to happen. Method references implement functional interfaces using existing methods … Read more

Object References in Java

Object References as method parameters This topic explains the concept of an object references; it is targeted at people who are new to programming in Java. You should already be familiar with some terms and meanings: class definition, main method, object instance, and the calling of methods “on” an object, and passing parameters to methods. … Read more

The Java Exception Hierarchy – Unchecked and Checked Exceptions

All Java exceptions are instances of classes in the Exception class hierarchy. This can be represented as follows: java.lang.Throwable – This is the base class for all exception classes. Its methods and constructors implement a range of functionality common to all exceptions. java.lang.Exception – This is the superclass of all normal exceptions. various standard and … Read more

Using the Static Keyword In Java Tutorial

The static keyword in Java is used for memory management mainly. We can apply static keyword with variables, methods, blocks and nested classes. The static keyword belongs to the class than an instance of the class. Reference to non-static member from static context Static variables and methods are not part of an instance, There will always be a single copy of … Read more