Latest Answer: sampra -- what you said is correct but don't you think that over-ridding itself uses dynamic method dispatch....what i am trying to say is that the line demarcation is very thin.vinny ...
Latest Answer: Can you specify why it is 8 Bytes, Does it cast to Long Int / Int ? ...
Latest Answer: Volatile comes into use specaiily in multithreaded applications.And about transient ..In many applications we like to store the stte of the object persistently..but sometimes we want to skip storing of some of the fields of that object. Thats where ...
Latest Answer: static block is executed whenever a class is loaded by the JVM.....hence in case you want certain code to executed or say some objects of a class avaliable to ur application as soon as the application starts you can put in the relevant code there....vinny ...
Latest Answer: System is a class, out is subclass(static), println is a method ...
Latest Answer: Abstrct class has some method who has no body so we cant create object for that whaere as fianal class is lik constant class we cant change the class ie we cant extend the final class so if we have to make anny class as immutable then declare class as ...
Latest Answer: To define a class with in another class, such classes are called Nested classes.The most import nested class is inner class. i.e. An inner class is a non-static nested class.difference:>A Nested class has access to the members, including private members ...
Latest Answer: static block is the set of stmnt between {} and declared as static its exceute at class loading time ...
Latest Answer: boss..... the question isn't clear!! im not sure if we have some trminology as "data object".please elaborate ...
Latest Answer: Static before main method is used because main method is called by the JVM, with out making any object of that class, since to call any method of the class we meed some obj of the class, but here before making any object jvm need to call main method, ...
View page << Previous 8 9 10 11 [12] 13 14 15 16 17 Next >>

Go Top