In java , if you do not give a value to a variable before using it ,______
If it is declared as global variable, then compiler will not give any error.
plz give explaination for this ans
Shamsa hafeez from Lahore, Pakistan is saying Compiler will give an error is correct answer
Techy Gamer is saying It will initialized with zero is correct answer
Tsega Asresa Mengistu from Dessie, Ethiopia is saying Compiler will give an error is correct answer
Which collection class allows you to access its elements by associating a key with an element's value, and provides synchronization?
- [A] java.util.SortedMap
- [B] java.util.Hashtable
- [C] java.util.TreeMap
- [D] None