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 happens if you dont initialize an instance variable of any of the primitive types in Java?
What happens if you dont initialize an instance variable of any of the primitive types in Java?
✍: Guest
Java by default initializes it to the default value for that primitive type. Thus an int will be initialized to 0, a boolean will be initialized to false.
2013-06-27, 2188👍, 0💬
Popular Posts:
Where Do You Download JUnit? Where do I download JUnit? I don't think anyone will ask this question ...
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You...
Why is it preferred to not use finalize for clean up? Problem with finalize is that garbage collecti...
Can Java object be locked down for exclusive use by a given thread? Yes. You can lock an object by p...
How To Create an Add-to-Netvibes Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News ...