PayPal interview question

How to implement a class without instance..?

Interview Answers

Anonymous

Jan 7, 2014

public abstract class x {} // make class abstract

Anonymous

May 16, 2012

We can use static class, you cannot create instance of static class usinf new keyword.

Anonymous

May 28, 2012

Static key word cant be applied to a class unless its a inner class. So we can use a class without creating instance through static inner classes