Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What will be the initial value of an object reference which is defined as an instance variable?
What will be the initial value of an object reference which is defined as an instance variable?
✍: Guest
The object references are all initialized to null in Java. However in order to do anything useful with these references, you must set them to a valid object, else you will get NullPointerExceptions everywhere you try to use such default initialized references.
2013-06-28, 2553👍, 0💬
Popular Posts:
What is the main difference between a Vector and an ArrayList? Java Vector class is internally synch...
What are the two fundamental objects in ADO.NET ? Datareader and Dataset are the two fundamental obj...
How to create arrays in JavaScript? We can declare an array like this var scripts = new Array(); We ...
What is triple constraint triangle in project management ? Project Management triangle is depicted a...
How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters? Unicode requires 1...