CS 2110 Final: CS 2110 Cornell 2012 Fall Final ExamsFinal Exam sp11

46 views17 pages
31 Jan 2019
Course
Professor

Document Summary

Netid: _____________: the exam is closed book and closed notes. You have 150 minutes: start by writing your name and cornell netid on top! Check now that you have all the pages: web, email, etc. may not be used. This exam is individual work: we have scrap paper available. You should be able to t your answers easily into the space we provided. Answers that are not concise might not receive full points. It you do need more space, use the back page of the exam. 1 classes, interfaces, and types: answer the following questions with either true or false. // write output next to each of the following: a. f(a); a. f(b); b. f(a); b. f(b); a. f(ba); b. f(ba); ba. f(a); ba. f(b); ba. f(ba); 3 pts. interface i { public float mi(int a); interface j extends i { public int mj(int a); public object mjj(int a); class c { public void mc(int a) { System. out. println( hello world""); class myclass extends c implements j {

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents