Computer Science, asked by sakshamsrivastava653, 2 months ago

please solve this java statement​

Attachments:

Answers

Answered by samarthkrv
0

Answer:

class Main {

   public static void main(String[] args) {

      String x = "DELHI";

      System.out.println(x.length());

      System.out.println(x + "te");

      System.out.println(x.charAt(2));

      boolean v = x.equals("Ghazidabad");

      System.out.println(v);

   }

}

Explanation:

Similar questions