Question: please solve 2 and 3 please thank you (2) Write a single line of Java code that declares an integer called numCredits and initializes it

please solve 2 and 3 please thank you
(2) Write a single line of Java code that declares an integer called numCredits and initializes it to the value 4 (3) What are the valid values of a boolean variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
