question archive What is the output of: System

What is the output of: System

Subject:Computer SciencePrice: Bought3

What is the output of:

  1. System.out.println("ABC".compareTo("ABC"));  
  2. System.out.println("ABC".compareTo("DBC"));  
  3. System.out.println("cBC".compareTo("aBC"));
  4. System.out.println( (int) ('B' - 'b'));  
  5. System.out.println( (char) (98- 32));

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions