can we make a class static without using static keyword?
Answer Posted / raja
see Shadab Alam, let me clear,first of all an outer class
can't be a static it could be either public or abstract or
final only, unfortunately Java Compiler can't allow other
than these three, so we can make any inner class as static.
and we can't make the behaviour of a class as static
without using "static" keyword. Thank u for asking this one.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Can we create object of interface?
What is multilevel inheritance explain with example?
Can static class have constructor?
Why is encapsulation used?
What is encapsulation in ict?
What is pure oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is coupling in oops?
What are the 4 pillars of oop?
What does oop mean in snapchat?
What is and I oop mean?
What is object in oops?
How to hide the base class functionality in Inheritance?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What do you mean by overloading?