Answer Posted / eknath wagadre
private and static keyword in java we can't use those
keyword any of the outer block. we can use those keyword
only and only inside of the block.(Block i.e Class )
NOTE: Outer class can't be private but inner class can be
private(bcz of this is the part of the outer class and also
inner class can be static.)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
can used Protected Class outside Function.?
What is the difference between method and means?
What is object in java?
What is the importance of main method in Java?
What is the primitive type short?
Explain the importance of thread scheduler in java?
Distinguish between a predicate and a function?
Can substring create new object?
Why string is not thread safe?
What are different data structures in java?
Can you achieve runtime polymorphism by data members?
What are the types of inner classes (non-static nested class) used in java?
how to deploy tomcatserver to weblogic server? write d following steps?
How many bytes is 255 characters?
What is integer parseint?