Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Tuesday, August 30, 2016

Peculiar problem: Recover from java.lang.OutOfMemoryError

So, a while back, I asked the good people at StackOverflow this question and in a relatively short period of 18hours, I got some vague ans...

Sunday, August 28, 2016

A simple login and verification approach by passing objects with abstraction

Create a package like this first: Then in each class, write the following code. A/N: Login.java is our main class and we run that to...

Saturday, August 27, 2016

The default magic in JDK 8

In this post, we'll talk about making use of methods in interface using default in JDK8. I'll keep this short and begin with inter...

Thursday, August 25, 2016

Why can't I liberally use "'==" in Java like other programming languages?

 == tests for reference equality (whether they are the same object). .equals() tests for value equality (whether they are logically ...