Tag Archives: Lt

Character is compare To (Stringstr) in JAVA – JAVA 10th Class notes – ICSE JAVA Notes

Character is compare To (Stringstr) in JAVA – JAVA 10th Class notes – ICSE JAVA Notes   compareTo(String str) : compareTo(String str) function compares two strings. It not only checks for the equality of the string but also checks whether one string is bigger or smaller than other or not. If the Strings are equal […]

ICSE JAVA 10th standard Assignments –Assignments on Loops in Java– ICSE Notes

ICSE JAVA 10th standard Assignments –Assignments on Loops in Java– ICSE Notes   Important Questions   State the difference between entry controlled loop and exit controlled loop.   What is a loop ? Explain each loop with an example.   What is nested loop ?   What is NULL Loop ?   What is meant […]

ICSE JAVA 10th standard Notes – Labels and Branching statement in Java with example – ICSE Notes

ICSE JAVA 10th standard Notes – Labels and Branching statement in Java with example – ICSE Notes Labels and Branching Statements :- The break and the continue statements can be used along with the Labels. Any of the loops or the switches can be used with Label, and then later on use break <label> to […]

ICSE JAVA 10th standard Notes – Break statements in Java with example – ICSE Notes

ICSE JAVA 10th standard Notes – Break statements in Java with example – ICSE Notes Break Statement :- The break statement inside a loop will abort the loop and transfer the control to the statement following the loop. The break statement enables a program to skip over a part of the code. A break statement […]

ICSE JAVA 10th standard Notes – Nested Loop in Java with example – ICSE Notes

ICSE JAVA 10th standard Notes – Nested Loop in Java with example – ICSE Notes   Nested Loops :- A loop containing another loop in its Loop-Body is known as the Nesting of the Loops or Nested Loops. NOTE :- The inner loop must terminate before the outer loop.   Syntax for Nesting of FOR […]

ICSE JAVA 10th standard Notes – Do While Loop in Java with example – ICSE Notes

ICSE JAVA 10th standard Notes – Do While Loop in Java with example – ICSE Notes Do-While Loops :- The Do-While Loop is an Exit controlled Loop. The Do-While Loop evaluates its test expression at the bottom of the loop after executing its loop-body statements. This means that the body of the Do-While Loop is […]

ICSE JAVA 10th standard Notes – While Loop in Java with example – ICSE Notes

ICSE JAVA 10th standard Notes – While Loop in Java with example – ICSE Notes While Loop :- The While Loop in Java is an Entry Controlled Loop. The While loop contains only a Test Expression. The Loop iterates when the test expression evaluates to True and when the test expression is False the program […]

ICSE JAVA 10th standard Notes – Empty Loop in Java with example – ICSE Notes

ICSE JAVA 10th standard Notes – Empty Loop in Java with example – ICSE Notes   Empty Loop :- If the Body of the Loop is empty, then it is called as an Empty Loop. An empty loops are used in the cases where some kind of delays are to be introduced purposely. Example :-  […]

ICSE JAVA 10th standard Notes – FOR Loop in Java with example – ICSE Notes

ICSE JAVA 10th standard Notes – FOR Loop in Java with example – ICSE Notes FOR Loop Variations :- Java provides several for loop variations that increase the flexibility and the applicability of the for loop. There are different For Loop variations namely : Multiple Initializations and Update Expressions. Optional Expressions. Infinite Loop. Empty Loop. […]

ICSE JAVA 10th standard Notes – Types of loops in Java with example – ICSE Notes

ICSE JAVA 10th standard Notes – Types of loops in Java with example – ICSE Notes Types of Loops :- There are three types of loops in Java namely : For Loop. While Loop. Do-While Loop.   For Loop :- For Loop is an entry controlled loop. All its loop-controls are gathered in one place. […]