whays is mean by inner class?
Answers were Sorted based on User's Feedback
Answer / srinu
I tell small example with out existing car object their is
no existing wheel object. so A class declared with in class
is called inner class. This inner class concept are used in
AWT concepts
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ravikiran
inner class is the class with in the clas or nested class
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / pops
class inside a class.doesn't allow static
declarations.moslty you can make your code less vulnerable
to security attacks.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / naddu
inner class is a class within the class. without inner
class outer class is does't exist. outer class is depends
on inner class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Can Exception handling we can handle multiple catch blocks?
What is an empty class? What functionality does it offer in Java?
0 Answers Deloitte, EXL, JPMorgan Chase,
What is difference between core java and java ee?
What is singletonlist in java?
Can we have any code between try and finally blocks?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?
Why are variables important in research?
In collection sorting comparable and comparator interface will be used..but why this two interfaces required..two will work same purpose so why there are two interfaces instead of one?when to use comparator and when to use comparable?
Can we pass null as argument in java?
abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }
What are different types of arrays?