Midterm (Exam 1) 2019
First-page document preview for Midterm (Exam 1) 2019 in COMP 248: Object-Oriented Programming I at Concordia University. Inspect the first page below or request the complete PDF study document for free.
Independent study archive Learn more
Materials are uploaded by users for self-study purposes. PwnHero is an independent platform, not affiliated with, sponsored by, or endorsed by any university or institution.
University
Concordia University
Course
COMP 248: Object-Oriented Programming I
Format
Midterm Exam
Year
2019
📄 Page 1 Preview
Page 1 Key Topics & Excerpt
🔍 Text Transcript
First page excerpt for quick study reference. Complete formulas, diagrams, and subsequent pages are available in the full document.
PwnHero
Answer the questions in the spaces provided. If you run out of room for an
answer, continue on the back of the page.
1. True or False? For the following questions, you must correct the statement if false.
(a) The eight basic data types in Java are boolean, byte, short, int, long,
float, double, and String.
(b) hello, $hello, HELLO, and Hello are all valid variable names in Java and
Java considers them to be the same variable name.
(c) The following are all reserved words in Java: class, public, main, case.
PwnHero.com