|
Notices |
![]() |
|
Thread Tools
![]() |
Rate Thread
![]() |
Display Modes
![]() |
![]() |
#1 |
Registered User
Join Date: Nov 2015
Posts: 127
|
Can variables be used in Java without initialization?
Can variables be used in Java without initialization?
|
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Feb 2016
Posts: 73
|
In Java, if a variable is used in a code without prior initialization by a valid value, program doesn’t compile and gives an error as no default value is assigned to variables in Java.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reliable java web hosts? | clo@ | Hosting Discussion | 14 | 11-03-2015 12:36 PM |
Have you ever wondered what is inside a java class file? | cianfie | Java | 6 | 01-28-2015 11:09 PM |
The conclusion provided by the Black Hat Java Script | andrebreton2121 | Search Engine Optimization | 6 | 10-17-2012 11:06 PM |
biggest teature of String in java? | cianfie | Java | 0 | 12-08-2011 09:03 PM |