Hi,
Both abstract classes and interfaces cannot be instantiated. It serve as superclasses to concrete subclasses. In abstract class you can have both abstract methods and nonabstract methods (You...
Type: Posts; User: ptmidhun; Keyword(s):
Hi,
Both abstract classes and interfaces cannot be instantiated. It serve as superclasses to concrete subclasses. In abstract class you can have both abstract methods and nonabstract methods (You...
Hi,
Constructors never get inherited. But always a superclass constructor will run before the child class constructor.
bye..
Hi,
Objects are always getting created in Heap.
Object class has got a public constructor. So you can create an object of Object class.
Object o = new Object();
hi,
Who told you that java doesn't support pointers. Without pointers no programming language can allocate memory. So internally java also make use of pointers. But only thing is that, java doesn't...
Hi,
Java is Object oriented But not 100%. Following are the reasons.
1) Everything in java is not Objects. eg: primitive datatypes.
3) All features of OOP lanuage is not fully supported by java....
Hi,
First of all you should know that Java's primitive datatypes are not Objects.
But in actual practice there will be situations where you will have to pass this primitive values to some functions...
Hi,
First of all you should understand that String is immutable and StringBuffer is Mutable. That is You cannot append something to a String Object (No append method is there for String.). When...