![]() Related Questions Latest Answer : No it won't work.Only one main methods is allowed ... Latest Answer : We need not call the finalize() method directly. The method is called automatically by the garbage collector when it determines no more references to the object exist. But when we need to clean-up non-Java resources ie closing a file, we need ... Latest Answer : Finally method is executed whether the exception is raised or not and normally used to close the resource that are opened in the before. ... Latest Answer : polymorphism is the characteristic of assigning more than one meanings or different meanings to a single symbol or operator in different contexts. ... Latest Answer : Its a common mistake to assume that overloading is a kind of polymorphism in OOPS..But its actually not..However the definition is the same.. an entity existing in different forms is called polymorphism..in Java, polymorphism is achieved with super class ... Tags : OOPS Latest Answer : Method Overriding means methods having the same method name,same number of arguements or same type of arguements.Here we use super() method to pass the arguements to the methods in the baseclass. ... Tags : OOPS Latest Answer : Java is Object Orieted Programming Language developed by Sun Microsystem (U.S.A).It Is Platform Independent Language.It Is Simple ,Secure,Robust, Compiled & InterPreted Language. ... Latest Answer : class is a blue print for an object which defines the functionality of an object. class also called the template for an object. ... Latest Answer : method represents the behaviour of an object ... Latest Answer : java program contains 2 elements code and dat. so the mechanism that binds data and code together is Encapsulation. which is also called information hiding or protecting. Encapsulation is used to hide the implementation behind interface(API). ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||