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
What is ambiguity in inheritance?
Why multiple inheritance is not allowed?
Templates mean
Plese get me a perfect C++ program for railway/airway reservation with all details.
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
How long to learn object oriented programming?
• What are the desirable attributes for memory managment?
write a C++ program for booking using constructor and destructor.
Which type does string inherit from?
What is oops?what is its use in software engineering?
What is new keyword in oops?
When not to use object oriented programming?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is object-oriented programming? Webopedia definition
What is difference between inheritance and polymorphism?