Skip to content

Main Navigation

chankok.com

Category: Java

Java

Using The break Statement in Java

We’ll show you some examples of how to use the unlabeled and labeled break statement in Java …

break
Java

Using The switch Statement in Java

We’ll show you some examples of how to use the switch statement in Java …

switch
Java

Using The if-else Statement in Java

We’ll show you some examples of how to use if, if-else, if-else-if-else and nested if in Java …

if-else
Java

Generating UUID in Java

We’ll show you few examples of how to generate UUID in Java …

guiduuid
Java

web.xml Namespace Declaration and Schema Location Example

We’ll show you how to specify the namespace declaration and schema location in web.xml file for different Java servlet version …

java servletweb.xml
Java

Reading Entire File into String in Java

We’ll show you some examples of how to read the entire contents of a file into a string in Java …

filejava iostring
Java

Check Even or Odd Number in Java

We’ll show you some examples of how to check and identify the even or odd number in Java …

bitwise operatormodulus operator
Java

Java Example: Try-with-resources Statement

We’ll show you some examples of how to manage the resources in Java 7 using try-with-resources statement …

java io
Java

Java Example: Data Encapsulation

We’ll explain what is data encapsulation and show you some examples of how to apply data encapsulation in Java applications …

encapsulation
Java

Java Example: Modify Strings with StringBuilder

Show you some examples of how to use StringBuilder class to append, insert, replace, delete and reverse the strings in a string builder in Java …

stringstringbuilder

Posts navigation

  • 1
  • 2
  • »
Chankok.com. All Rights Reserved. Copyright © 2023 | Privacy Policy