![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Latest Answer : I want to maintain our LAN through JAVA can U help me ? ... Tags : Abstract What is the use of abstract classes? How will we decide in a scenario, whether we have to use abstract class or interface? Read Answers (20) | Asked by : Rajiv Tags : Abstract Latest Answer : The class whose all methods have body is called as conceetclass Yes object class is concreet class ... Read Answers (6) | Asked by : vishal Class Outer{int a;Outer (){a=10;}public static void main(String args[]){final Outer o1=new Outer();Outer o2=new Outer();class inner{inner(){o1.a=20;//allowed//o2.a=30; not allowed}}}}Why inner classes can access only final variables as illustrated? Thanks in advance! Most frequently used diagrams are- Class Diagram- Sequence DiagramRarely Used- Component Diagram- Package DiagramClass Diagram A diagram that shows a collection of declarative (static) model elements, Latest Answer : Class Diagram : They describe the static structure of a system.Package Diagram : Package diagrams organize elements of a system into related groups to minimize dependencies between packages.Object Diagram : ... What are advantages of inner class Latest Answer : Logical grouping of classes—If a class is useful to only one other class, then it is logical to embed it in that class and keep the two together. Nesting such "helper classes" makes their package more streamlined. Increased encapsulation—Consider ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||