Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

java Color on Enum call

class RunApp {
    public static void main(String[] args) {

        System.out.print(Color.BLACK_BOLD);
        System.out.println("Black_Bold");
        System.out.print(Color.RESET);

        System.out.print(Color.YELLOW);
        System.out.print(Color.BLUE_BACKGROUND);
        System.out.println("YELLOW & BLUE");
        System.out.print(Color.RESET);

        System.out.print(Color.YELLOW);
        System.out.println("YELLOW");
        System.out.print(Color.RESET);
    }
}
Comment

PREVIOUS NEXT
Code Example
Java :: java how to slit a dtring and trim at the same time 
Java :: facebook share android Studio 
Java :: import classes from another project java 
Java :: diamonds 
Java :: java datasource 
Java :: public static void main(String args[]) { level input=new level(System.in); FirstPractice obj1=new FirstPractice(); obj1.loosing(1000); } 
Java :: java random 8 digit number 
Java :: java scanner equation 
Java :: java lib reference 
Java :: remove activity from recent list android 
Java :: What is the difference between Error and Exception? java 
Java :: Get Max Value Element From List With Objects 
Java :: Spring security avec spring version 2.5.6 
Java :: action media scanner scan file android 30 deprecated 
Java :: java minimize all windows 
Java :: https://www.baeldung.com/java-stream-findfirst-vs-findany 
Java :: Meditation for stress and depression 
Java :: https://javahungry.blogspot.com/2020/01/list-of-lists-in-java.html 
Java :: sealed interface java codegrepper 
Java :: java bild skalieren bufferedimage 
Java :: how to create an indefilite loop in java 
Java :: if en une seul ligne java 
Java :: java ordenar numeros ascendente 
Java :: string expression execution for java 
Java :: java ultimo dia del mes 
Java :: castle stones java qn 
Java :: java writing an object 
Java :: gc algorithms java 8 
Java :: convert boolean list to primitive java 
Java :: request.iter_content(1024 * 1024) 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =