What is loop in java?
Answer / Kripakar Shukla
A loop in Java is a control structure that allows code to repeat a specific block of instructions multiple times. There are two main types of loops in Java: 'for' and 'while'. For example, using the 'for' loop to iterate over an array:'code' for(int i = 0; i < array.length; i++) {'array[i]'}n'
| Is This Answer Correct ? | 0 Yes | 0 No |
What is file class and what is its purpose?
Can we override the overloaded method?
What is OOP's Terms with explanation?
1 Answers Beahead Private Limited,
Is vector synchronized in java?
What is a substitution variable?
Why do I need to declare the type of a variable in java?
Can a class with private constructor be extended?
what are the high-level thread states? : Java thread
When will we use them?
How do you write a good declaration?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
Can you explain the difference b/n abtract and interface with a good example,?In what cases we have use abtract and what case interface?