You are on page 1of 1

Homework 1

Due: 26/06/18 10AM

CS2110: OOP and Datastructures

June 25, 2018

Question 1. Come and introduce yourself in oce hours this week.

Question 2. Introduce yourself, your major (or grade if in high school), what your past
experience in programming is, and what you are hoping to get out of this course.

Question 3. Install Java and Eclipse on your computer. Run through steps 1-6 on tutorial
http://www.cs.cornell.edu/courses/JavaAndDS/eclipse/Ecl01eclipse.html

Question 4. Create a new CS2110 Eclipse project (we will reuse it throughout the course)
and create a new le HW1.java. Copy the code below in (for now, don't worry about the
meaning of import, static, public). Run the program and take a screenshot of the
Eclipse console output.

import java . util . Date ;

public class HW1 {

public static void main ( String [] args ) {


Date date = new Date () ;
System . out . println ( " Welcome to CS2110 at " +
date . toString () ) ;
}

You might also like