Computer Science, asked by mohdsalmanseed12, 1 month ago

b) State the difference between Variables and Constants

c) What do you mean by typecasting? Explain its types.

d) What is looping? Name the types of loops available in Java.

e) State the difference between break and continue statements in Java​

Answers

Answered by Tushar211535
1

Answer:

(a) variables value can be changed

constants value can never be changed

(b) it is converting of one type into another

(c)

pls mark me brainliest

Answered by manasijena8679
8

B) A constant does not change its value and it remains the same forever. A variable, on the other hand, changes its value from time to time depending on the equation. Constants are usually represented by numbers. Variables are usually represented by alphabets.

C) Typecasting is converting one data type into another one. It is also called as data conversion or type conversion. It is one of the important concepts introduced in 'C' programming. 'C' programming provides two types of type casting operations: Implicit type casting.

D) Java provides three repetition statements/looping statements that enable programmers to control the flow of execution by repetitively performing a set of statements as long as the continuation condition remains true. These three looping statements are called for, while, and do… while statements.

E) The break statement is used to terminate the loop immediately. The continue statement is used to skip the current iteration of the loop. break keyword is used to indicate break statements in java programming. continue keyword is used to indicate continue statement in java programming.

Hope it will be helpful for you.. Please mark me as a brainliest answer

~by ayushi

Similar questions