Latest Answer: Class clsObj = Class.forName("ClassName"); Method method = clsObj.getMethod("methodName",null); method.invoke(clsObj.newInstance(),null); ...
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 : ...
Which one of the following describes the OO concept of Aggregation? 1.A system of objects that implement each other 2.A system of objects that are built using each other 3.A system of objects that define each other 4.A system of objects that are not related 5.A system of objects inherited from each other
Latest Answer: Java archive is the collection of builtinn or user define packages(.class file) ...
a)
Latest Answer: By creating object to an class by using "new" keyword shows that JVM allocates memory in heap area. ...
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!
What is aggregation and composition of objects?What is the diff between monolithic and composite object?
Latest Answer: Unicode is used for globlization ie its support all languages its use for globlization where as hash code is a unique number which is given to object by JVM .hash code is implement by some algorithmlike:String="abc";hashcode=97*31(power)2+98*31(power)1++99*31(power)0=Some ...
Latest Answer: Union dosent allow duplicate valueUnion all allows duplicate value ...
Latest Answer: here we are using package ...
View page << Previous 1 [2] 3 4 Next >>

Go Top