Computer Science, asked by MEVIRICK3435, 1 year ago

What will be the output of the program treeset map = new treeset()?

Answers

Answered by PiyushSinghRajput1
2

Java TreeSet Example 2:

import java.util.*;

class TreeSet2{

public static void main(String args[]){

TreeSet<String> set=new TreeSet<String>();

set.add("Ravi");

set.add("Vijay");

set.add("Ajay");

System.out.println("Traversing element through Iterator in descending order");

Answered by SanwiG
1

Explanation:

Java tree will be output of the program 3 seat map for nutrition

Similar questions