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 polymorphism oop?
Which type does string inherit from?
class type to basic type conversion
What is encapsulation process?
to find out the minimum of two integer number of two different classes using friend function
can we make game by using c
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is encapsulation c#?
Please send ford technologies placement paper 2 my mail id
What is the advantage of oop over procedural language?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is difference between multiple inheritance and multilevel inheritance?
What is the benefit of oop?
What is overriding in oop?
What is encapsulation in oop?