English, asked by 63800deeksha, 15 hours ago

As the manager of Beat-All Sports,’ 37 Sports Complex, Jalandhar, write a

letter to M/s Sondhi & Company, 7 Karol Bagh, New Delhi, asking for

quotations of prices for their sports goods. Inquire about the commission

given and the credit facilities. (5x1=5marks)​

Answers

Answered by sreeswapnak
0

Answer:

vkx ncb hb

. hbnb

Nv. jgn. uv.

Answered by jalakpanchal37
0

Explanation:

Related Articles

Related Articles

Sort a String in Java (2 different ways)

Arrays.sort() in Java with examples

Interesting facts about null in Java

Using _ (underscore) as variable name in Java

Currying Functions in Java with Examples

Using underscore in Numeric Literals in Java

Binary Search in Java

Sorting in Java

Collections.sort() in Java with Examples

Comparator Interface in Java with Examples

Comparable vs Comparator in Java

Differences between TreeMap, HashMap and LinkedHashMap in Java

Differences between HashMap and HashTable in Java

Hashtable in Java

Implementing our Own Hash Table with Separate Chaining in Java

Hashing | Set 2 (Separate Chaining)

Hashing | Set 3 (Open Addressing)

Double Hashing

Load Factor and Rehashing

Check for Children Sum Property in a Binary Tree

Check if a given Binary Tree is SumTree

Check sum of Covered and Uncovered nodes of Binary Tree

Check if two nodes are cousins in a Binary Tree

Check if two nodes are cousins in a Binary Tree | Set-2

Check if all leaves are at same level

Arrays in Java

Split() String method in Java with examples

For-each loop in Java

Reverse a string in Java

Sort a String in Java (2 different ways)

Difficulty Level : Easy

Last Updated : 11 Dec, 2018

String class doesn’t have any method that directly sort a string, but we can sort a string by applying other methods one after other.

Method 1(natural sorting) :

Apply toCharArray() method on input string to create a char array for input string.

Use Arrays.sort(char c[]) method to sort char array.

Use String class constructor to create a sorted string from char array.

Note : As we know that String is immutable in java, hence in third step we have to create a new string.

Sort a String alphabetically :

Examples :

Input string : "geeksforgeeks" Output string : "eeeefggkkorss"

// Java program to sort a string alphabetically

  

import java.util.Arrays;

  

public class GFG 

{

    // Method to sort a string alphabetically

    public static String sortString(String inputString)

    {

        // convert input string to char array

        char tempArray[] = inputString.toCharArray();

          

        // sort tempArray

        Arrays.sort(tempArray);

          

        // return new sorted string

        return new String(tempArray);

    }

      

    // Driver method

    public static void main(String[] args)

    {

        String inputString = "geeksforgeeks";

        String outputString = sortString(inputString);

          

        System.out.println("Input String : " + inputString);

        System.out.println("Output String : " + outputString);

    }

Similar questions