Explain what type of loops the following are: i. while loop: __________ ii. do-w
ID: 3843122 • Letter: E
Question
Explanation / Answer
1) value that is passed in to a method when it is called is known as argument
2) variable that receives a value that is passed into a method is known as parameter
> , < and == are called relational operator
&&, || and ! are logical operators
while loop is entry condition loop first the entry is checked if it is true then the while loop is executed
do while loop is exit condition loop, first the loop is executed and then the condition is execurted
do while loop will execute at least once
class is a collection of programming statements that specify the fields and methods
new keyword causes an object to created in memory
accessor is a method that gets a value from class fields but does not change it
constructor is a mehtod that is called when an instance of the class is created
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.