CSE 14 Study Guide - Final Guide: Standard Streams, Doriath, Minor Places In Arda

58 views9 pages
15 Oct 2018
School
Course
Professor

Document Summary

Be sure to look over previous exams and review problems, especially those problems that never made it onto an exam. Note problems 8 and 11 deal with inheritance, which has not yet been fully covered as of 3-11-18. If we do not cover this topic in class by wednesday 3-14, then don"t worry about thses problems: determine the output of the following java program. // problem1. java import java. util. scanner; import java. io. class problem1{ public static void main( string[] args ){ int a=5, b=6, c=1; double x=0. 5, y=1. 0, z=1. 5; c = fcn1(a, b); y = fcn2(y, a); Note that the array passed to getmax() need not be rectangular, i. e. its rows may have differing lengths. // problem2. java class problem2{ public static void main(string[] args){ int[][] table = { {3, 9, 6, 12}, System. out. println(getmax(table)); // prints 54 static int getmax(int[][] a){ // your code goes here: determine the output of the following java program.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents