public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables




public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables




public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables




public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables




public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables




public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables

last
items =
[1, 3, 5, 7, 9]



public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables

last
items =
[1, 3, 5, 7, 9]



public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables

last
items =
[1, 3, 5, 7, 9]




public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables

last
items =
[1, 3, 5, 7, 9]



public class Return{
  public static void main(String[] args){
    int returnValue = 9
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables

last
items =
[1, 3, 5, 7, 9]




public class Return{
  public static void main(String[] args){
    int returnValue = 9
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables

main
returnValue = 9




public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables

main
returnValue = 9




public class Return{
  public static void main(String[] args){
    int returnValue = last(1, 3, 5, 7, 9);
    System.out.println(returnValue);
  }

static int last(int ... items){ if(items.length > 0){ return items[items.length - 1]; } return -1; } }

Variables