Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Loram Epsum

Where is mistake:

class Simple{  
    public static void main(String args[]){  
     System.out.println("Hello Java");  
    }  
}  
1
1
Posted 5 days ago
Votes Newest

Answers 2


public class LeapYearExample {    
public static void main(String[] args) {    
    int year=2020;    
    if(((year % 4 ==0) && (year % 100 !=0)) || (year % 400==0)){  
        System.out.println("LEAP YEAR");  
    }  
    else{  
        System.out.println("COMMON YEAR");  
    }  
}    
}    
1
1
Posted 5 days ago
  
  

I like this :)

Miroslav Gula   5 days ago Report

Very good :)

package some.package;

public class App {
		public static void main(args[]) {
					System.stdout.println("test");
		}
}
  
  
Posted 5 days ago
43 Views
2 Answers
5 days ago
5 days ago