Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Klarissa Schmidt   on Oct 06 In Java Category.

  
Question Answered By: Balbir Kaur    on Oct 06

> if (input1=='r'&&input2=='g')
> System.out.println(" rg");


if ( input1.equals('r') && input2.equals('g') )
{
System.out.println(" rg");
}

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 


Tagged: