Skip to main content

Java

Running Java Applications

Running Java App In order to run your Java Applications you must first compile all of the source...

What the heck are @Annotations?

Annotation They are metadata that you can write into your Java program. They don't affect the ex...

Maven

Java Loggers

Java Logging Logging in a program is important to keep track of a program's run-time behavior. L...

System property value

System property value They are contained only within the Java platform. Environment variables a...

Lambda expression in Java

How are lambda function done in Java Because Java likes everything to be under a class or an int...

Checked vs Unchecked Exception

Exceptions In Java exceptions (which differs from the C exception) there are two types of except...

Mockito how does it work?

Background So what is Mockito? It is framework that is used on top of testing framework library ...

Optional in Java

Optional Optional is an object that can be think of as a container to hold other objects. It can...

Java Nested Class

Stream map vs flatMap

Stream API In Stream API there is both map and flatMap that's available for use. They are both u...