Regardless of what type of array you?re working with, the array identifier is actually a handle to a true object that?s created on the heap. The heap object can be created either implicitly, as part o...
once string object is created we can not change the value means its content,if want make changes a new string object is creted,old object will be garbagecollected for certain amount of time,so java so...
yes we can dot it. suppose class A and class b has access specifier ie. default but these classes[three] are put togetherin a single package then it can be possible.
Transient FieldObjects can be stored to persist using serialization. Serialization converts object into an output format that can be used for storing the object. When de-serialized object can be retri...
I=0; // Asigns 0 to variable II = I++ // I++ is post increment, means it increment the value of I to One (1) but returns the original value i.e. 0 ( Zero ). And now this 0 is again assigned to I. Setting I value 0 ( Zero )At the end value of variable I is 0
the implementation of result set will be in driver class.not only the result set ,the interfaces that are specified in the JDBC API implementation is present in the driver class.Driver class is a cl...
hello abdulu said that u deployed that .class file in the "servlets-example->WEB-INF->classes" folder and u map it in web.XML file, well it doesnt matter that whether u map it in web.X...
First,The main purpose of inner class as the name implies.,ie., not to have as a seperate class.There may be situations where you need a helper sort of class which is very specific for a single class....
You can use some open-source bug tracking software like TrackIT (http://trackit.sourceforge.net), Scarab (http://scarab.tigris.org/) or commercial software like Jira (http://www.jira.com)
For loading the class class.forName("class name");It just load the class only.For creating the instance for this class class.forName("class name").newInstance();One another way for loading the class i...
Get the date from request and use simpleDateFormat. e.g.String str = "2006-01-01";//you can have a different pattern like MM/DD/YYYY SimpleDateFormat sdf = ne...
Dear, Protected and Private access modifiers make no since for a class declaration, why by definition protected can be accessed by other classes in the same package or from any subclasses of the...
An object reference variable holds bits that represent a way to access an object, it does not hold the object itself (it actually holds something that works a bit like a pointer to the address at which the object can be found).
The array list always stores objects, but int is primitive data type, its not object. If you stiil want to store int in arraylist, then you transform [wrap] it in Integer Object and then store it in arraylist.
Ans