PayPal interview question

How to implement a class without instance..?

Interview Answers

Anonymous

7 Jan 2014

public abstract class x {} // make class abstract

Anonymous

16 May 2012

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

Anonymous

28 May 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