Nested classes VS Inner classes?
Answers were Sorted based on User's Feedback
Answer / neeraj agrawal
nested class are those class with in another class
whose defined in static modifier while inner class are those class with in another class is called inner class.
ya we can say static class are nested class while inner class are non static class.
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / kamal hassan
A staic class difined with in anothaer class is called
nested class.
A non static class defined in another class is called inner
class.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / balakrishna
A class consist of another class is called "Nested Class"
but in main method if we consist of classes it is
called "Inner Classes"
| Is This Answer Correct ? | 0 Yes | 12 No |
What are streams?
Can a class have more than one object?
What is passed by reference and pass by value ?
how can you take care of mutual exclusion using java threads? : Java thread
how to connect one jsp page to another jsp page????
what is bytecode? watz the difference between machine code and bytecode?
What class is used to create Server side object?
Which containers may have a MenuBar?
What is the difference between a field variable and a local variable?
"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)
Describe the syntax of multiple inheritance? When do we use such an inheritance?
Does java support function overloading, pointers, structures, unions or linked lists?