PrintfExamples.java Source code

Java tutorial

Introduction

Here is the source code for PrintfExamples.java

Source

public class PrintfExamples {
    public static void main(String[] args) {
        //boolean value is true, TRUE
        System.out.printf("boolean value is %1$b, %1$B\n", true);
    }

}
//boolean value is true, TRUE