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
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is destructor in oop?
What is protected in oop?
What is abstraction with example?
What is overriding in oops?
Can we define a class within the interface?
Why polymorphism is used in oops?
Write a program to reverse a string using recursive function?
Give two or more real cenario of virtual function and vertual object
What are the benefits of polymorphism?
what type of questions
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
How to improve object oriented design skills?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is encapsulation in ict?