Ads block

Showing posts with label Unit 3. Show all posts
Showing posts with label Unit 3. Show all posts
Explain about switch statement with an example.
By
Jeevan Sai
10 Marks
·
OPPS WITH JAVA
·
Unit 3
Java Switch Statement The Java switch statement executes one statement from multiple conditions. It is like if-else-if ladder statement. The switch state…
Read more »
Explain about while statement with an example.
By
Jeevan Sai
10 Marks
·
OPPS WITH JAVA
·
Unit 3
Loop Statements In programming, sometimes we need to execute the block of code repeatedly while some condition evaluates to true. However, loop statements are …
Read more »
Explain about for statement with an example.
By
Jeevan Sai
10 Marks
·
OPPS WITH JAVA
·
Unit 3
Java Statements A statement specifies an action in a Java program. For example, a statement may tell the add of values of x and y and assign their sum to…
Read more »
SEARCH
LATEST
3-latest-65px
SECCIONS
- 10 Marks (14)
- 5 Marks (20)
- OPPS WITH JAVA (34)
- QUESTION BANK (1)
- Unit 1 (13)
- Unit 2 (10)
- Unit 3 (12)
- Unit 4 (9)
- Unit 5 (6)
Search This Blog
Powered by Blogger.
Blog Archive
- August 2021 (1)
- June 2021 (55)
*Java Constructor* class Main { private String name; Main() { name = "Programiz"; } public static void main(String[...
