Loading...
Engaged employer
How to implement a class without instance..?
Anonymous
public abstract class x {} // make class abstract
We can use static class, you cannot create instance of static class usinf new keyword.
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
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.