Search:

Type: Posts; User: Md Abdullah Shuvo

Search: Search took 0.13 seconds.

  1. Can A String array be passed as a parameter to a method that takes object array as argument?

    public class Knuth {

    private Knuth() { }


    public static void shuffle(Object[] a)
    {
    int n = a.length;
    for (int i = 0; i < n; i++) {
    // choose index uniformly in [0, i]
  2. Can A String array be passed as a parameter to a method that takes object array as argument?

    public class Knuth {

    private Knuth() { }

    public static void shuffle(Object[] a){
    int n = a.length;
    for (int i = 0; i < n; i++) {
    // choose index...
Results 1 to 2 of 2