Subject: Your Disability-Benefits

From: Disability-Benefits <[email-masked]>
Date: Mon, 30 Jun 2014 07:30:08 -0700

[Your Disability Benefits-Evaluation]
No. 84244078
For: [email-masked]

If your current health condition is preventing you from working, please see what benefits you qualify for.

Your response will be ready in (5) minuets.
-----------------------------------------------
[Evaluation] http://www.firenth.com/SSD-345243/gov-pln-43577453.html

Note: If you are able to work you may be able to receive "work-incentives" that provide continued benefits and health care coverage. http://www.firenth.com/SSD-345243/gov-pln-43577453.html

From: SSD Services | Seven Naomi Ln.
East_Lyme | CT | Sending-opts http://www.firenth.com/7/index.html
[3bcedcac83d8c792b384cfcaa05b1a05]

Interna/DOC/SHeet
We all know that you can't instantiate an interface in Java (directly at least).

But with something like this:

public class Test{
    public interface Link {
      void mySamplemethod();
      String myString ="HELLO!";
     }

     public static void main(String []args){

        Link b;

     }
}
What exactly is b... and how could it ever have a practical purpose?

b is a variable of type Link that has no value, not even null. In order to have a practical purpose you must initialize it with an object reference whose class implements Link interface.

If you want to initialize Link with a non-null value, you should create a class that implements this interface. That's mandatory in Java. If you don't want to create a new class outside this class, you can create a new class inside the class or inside the method (which would be an anonymous class). Here's a sample:

thanks.