Domanda di colloquio di PayPal

How to implement a class without instance..?

Risposte di colloquio

Anonimo

7 gen 2014

public abstract class x {} // make class abstract

Anonimo

16 mag 2012

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

Anonimo

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