Coupling in Java example Coupling in java refers to the degree of direct knowledge that one element has of another. In other words, how often do changes in class A force related changes in class B. There are two types Read more…

Just because of Java has slow Input and output classes suggested by many people for competitive programming As following explain some ways to get over the trouble and change the conclusion from TLE to (in most cases) AC. For all Read more…

NullPointerException in Java According to the detail mentioned in JavaDocs  below points covered for nullpointerexception in java: Thrown when an application struggle to use null in a case where an object is required. These include: Calling the instance method of a Read more…

why sorted array faster than an unsorted array?Here is a Java code which shows that sorting the stored array amazingly makes the code faster than the unsorted array. Let’s try out a below piece of JAVA code to find out Read more…

flatMap with example in Java 8: To know flatMap with example in Java 8 . please go for below steps. Stream can hold different data types In Java 8 like below example:

  But, the Collectors and Stream operations Read more…

Optional Class in Java 8: Introduced a new Optional class in java 8 ( java.util package). this class is used to represent a value is present or absent. The main advantage of this new construct is that No more too Read more…

Java 8 Example to filter a Map Here we are going to learn that how to filter a map in java 8 Stream API. -An example to know that how it was without Java 8

-In Java 8  Map.entrySet() can be Read more…

SMTP Mail Through Java with Example Two mail through java with example are here to show you how to use JavaMail API method to send an email via Gmail SMTP server, using both TLS and SSL connection. below details are Read more…

There are two ways to create a database in MySQL 1) By executing a simple SQL query 2) By using forward engineering in MySQL Workbench In this tutorial we will learn both of the ways to create the database in MySQL. Read more…

ALGEBRA In RELATIONAL DATABASE MANAGEMENT SYSTEM Relational Algebra Operators are mathematical functions used to retrieve queries by describing a sequence operations on tables or even databases(schema) involved. With relational algebra operators, a query is always composed of a number of operators, Read more…

Facebook