Java : JAVA Value and Types

Which among the following is a valid method of initialising? , Which among the following is a valid method of initialising?

Which among the following is a valid method of initialising?

Which among the following is a valid method of initialising?
A. boolean f=true;

B. boolean f=True;

C. boolean f=’true’;

D. None of these



Correct Answer :

A. boolean f=true;



CCC Online Test , CCC MCQ Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz career counselling in allahabad Website development Company in Allahabad