Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

BE EXPERT IN JAVA Part- 2: Learn Java programming and become expert
BE EXPERT IN JAVA Part- 2: Learn Java programming and become expert
BE EXPERT IN JAVA Part- 2: Learn Java programming and become expert
Ebook71 pages23 minutes

BE EXPERT IN JAVA Part- 2: Learn Java programming and become expert

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Java serves as both a programming language and a platform. It is a sophisticated, secure, and object-oriented programming language. Sun Microsystems (now a subsidiary of Oracle) developed Java in 1995, and its conception is credited to James Gosling, often referred to as the father of Java. Originally named Oak, the language underwent a name change to Java when it was discovered that the name Oak was already claimed by another company. Regarding its platform designation, Java qualifies as such because it can operate within various hardware or software environments. This is due to its inclusion of a runtime environment (JRE) and API, which enables it to function as a self-sustained platform for running applications.

Please read this carefully and hopefully you will find it helpful. This book has been written with advise of multiple experts who have command over JAVA programming. They have couple of years experiance in JAVA. Please reach out to email ummedsingh7427@gmail.com for any suggestion, query or questions. Thank you.

LanguageEnglish
PublisherBookRix
Release dateAug 6, 2023
ISBN9783755449027
BE EXPERT IN JAVA Part- 2: Learn Java programming and become expert

Read more from Ummed Singh

Related to BE EXPERT IN JAVA Part- 2

Related ebooks

Technology & Engineering For You

View More

Related articles

Related categories

Reviews for BE EXPERT IN JAVA Part- 2

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    BE EXPERT IN JAVA Part- 2 - Ummed Singh

    Table of Content

    Java Control Flow | Control Statements in Java

    Loop Statements in Java

    Java Switch Statement

    Loops in Java

    Java While Loop

    do-while Loop in Java

    Break Statement in Java

    Continue Statement in Java

    Comments in Java 

    This eBook is based on Java programming that has been collected from different sources and people. For more information about this ebook. Kindly write to ummedsingh7427@gmail.com. I will happy to help you.

                                                                       Copyright 2023 by Ummed Singh

    This eBook is a guide and serves as a next part of first guide Be Expert in Java part-1 which has already been published. This book has been written on the advice of many experts and sources who have good command over Networking and routing. They are listed at the end of this book. All images used in this book are taken from the LAB which is created by experts. All rights reserved, including the right to reproduce this book or portions thereof in any form whatsoever. For any query reach out to the author through email.

    Java Control Flow | Control Statements in Java

    In Java, the code is executed from top to bottom, and statements are executed in the order they appear. However, Java provides control flow statements to manage the flow of code execution. These control flow statements are essential features of Java, facilitating a smooth program flow.

    Java offers three types of control flow statements:

    Decision Making statements:

    Decision-making statements determine which part of the code to execute based on certain conditions. They evaluate Boolean expressions and control the program flow accordingly. There are two types of decision-making statements in Java: the if statement and the switch statement.

    1.1) If Statement:

    The if statement in Java is used to evaluate a condition, altering the program's flow based on the condition's result, which can be either true or false. In Java, you can find four types of if statements as listed below.

    Let's explore the different types of if-statements in Java:

    Simple if statement:

    The simple if statement is the most basic control flow statement in Java. It evaluates a Boolean expression and executes a block of code only if the expression evaluates to true.

    Enjoying the preview?
    Page 1 of 1