Tag: java

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…

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…

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…

Java is a first-class object-oriented language. With the exception of primitive data types, everything in Java is an object. Even an array is an Object. Every class creates instances that are objects. There is no way of defining just a Read more…

The Remote Method Invocation (RMI) is an API that provides a mechanism to create distributed application in java. The RMI allows an object to invoke methods on an object running in another JVM. The RMI provides remote communication between the Read more…

This JDBC tutorial covers all the topics of JDBC with the simple examples. JDBC is a Java API that is used to connect and execute query to the database. JDBC API uses jdbc drivers to connects to the database. Why Read more…

Five keywords used in Exception handling: try catch finally throw throws try block Enclose the code that might throw an exception in try block. It must be used within the method and must be followed by either catch or finally Read more…

Exception handling in java is one of the powerful mechanism to handle the run time errors so that normal flow of the application can be maintained. In this page, we will learn about java exception, its type and the difference between Read more…

The java command line argument is an argument i.e. passed at the time of running the java program. The arguments passed from the console can be received in the java program and it can be used as an input. So, Read more…

Creating API Documentation API Documentation for Web browser The javadoc tool provides an easy way to write API documentation for source code and software projects using the Java programming language.  The javadoc documentation comments are the industry standard way of Read more…

Facebook