Computer Science, asked by harinamsingh3392, 11 months ago

Write a java program to display name of four countries along with their capitals

Answers

Answered by Rahul9048
2

Explanation:

public static void main(String[] args) {

System.out.println("India. --New delhi");

System.out.println("USA---washington dc");

System.out.println("china---bejing);

System.out.println("Bangladesh-Dhaka");

}

Similar questions
French, 5 months ago