id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

srp4379@lausd.net 1-arraybasics > secondAEquals1stB
prev  |  next  |  chance

public boolean secondAEquals1stB(int[] a, int[] b)

Given two arrays - a and b - where the length of a = 2 and the length of b = 1,
return true if the 2nd element of a equals the 1st element of b.


secondAEquals1stB([3, 0], [0]) → true
secondAEquals1stB([30, 25], [20]) → false
secondAEquals1stB([2, 5], [5]) → true

...Save, Compile, Run (ctrl-enter)

public boolean secondAEquals1stB(int[] a, int[] b) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 1

Copyright Nick Parlante 2017 - privacy