To what value is a variable of the Boolean type
automatically initialized?

Answers were Sorted based on User's Feedback



To what value is a variable of the Boolean type automatically initialized?..

Answer / bindhu

false

Is This Answer Correct ?    10 Yes 0 No

To what value is a variable of the Boolean type automatically initialized?..

Answer / harikrishna

a variable of the Boolean type
automatically initialized to false

Is This Answer Correct ?    10 Yes 0 No

To what value is a variable of the Boolean type automatically initialized?..

Answer / ravikiran

false

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is comparator in java?

0 Answers  


What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).

2 Answers   Infinite Computer Solutions, TCS,


33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac

5 Answers  


Explain about transient variables in java?

0 Answers  


Can sleep() method causes another thread to sleep?

0 Answers  






Is alive and join method in java?

0 Answers  


which of tha following is not a thread safe class? a) ArrayList b)Vector c)HashTable d)None

17 Answers  


what is the major difference between linkedlist and arraylist in java?

0 Answers   IBS,


What is difference between path and classpath variables?

0 Answers  


What are the 4 versions of java?

0 Answers  


How to avoid memory leak in java?

0 Answers  


What is the middleware?

2 Answers  


Categories