Computer Science, asked by sakshamsrivastava653, 18 days ago

Please solve this java question​

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