1 / 9

Intro to Object Oriented Programming with Java (MSIS 2203)

Intro to Object Oriented Programming with Java (MSIS 2203). Instructor: Dr. Jason Nichols Jason.Nichols@okstate.edu Office Hours: 9:30-10:30 M/W/F or by appointment Business Building #210 Textbook: Java: An Intro to Problem Solving and Programming (5 th ed.). One View of the MSIS World.

lenore
Download Presentation

Intro to Object Oriented Programming with Java (MSIS 2203)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Intro to Object Oriented Programming with Java (MSIS 2203) • Instructor: Dr. Jason Nichols • Jason.Nichols@okstate.edu • Office Hours: • 9:30-10:30 M/W/F or by appointment • Business Building #210 • Textbook: • Java: An Intro to Problem Solving and Programming (5th ed.)

  2. One View of the MSIS World Core Skills -------------------------------------------------------------------------------Applied Knowledge Toolset Integration And Technical Communication General Concepts Specific Tools Applying Tools and Communication Skills For Firm Value Programming Concepts (You are here) Organizational Applications (e.g. enterprise systems, ecommerce, decision support, operations management, etc.) Project Mgmt. and Communication (e.g. MSIS 3033) Overview and General Business Tools (e.g. MSIS 2103) Database Concepts (e.g. MSIS 3103) System Design (e.g. MSIS 3303) Internet Technologies (e.g. MSIS 4133)

  3. Programming: Step 1 Setting up your environment

  4. (Very) Brief Java Overview You English Language How do we communicate to the computer? 11011000011010111000111000110101 Your Computer

  5. (Very) Brief Java Overview English Language used to write Java Compile to “Byte Code” Creating a program JDK Running a program Translate for Computer 11011000011010111000111000110101

  6. How To Get the JDK • http://java.sun.com/javase/downloads/ • See instruction document on course website

  7. Where Do We Write Our Java? • We will be using TextPad • www.textpad.com • Follow instruction document on course website • There are a number of other options • even just notepad • But then we have to access the JDK commands directly • open a command line window (start -> run, then type “cmd”) • Navigate to our saved java file • To compile: “javac<insert filename>.java • To run compiled program: “java <insert filename>

  8. First Program (Don’t Sweat the Details) class HelloWorld{ public static void main(String[] args){ System.out.println("Hello all"); } }

  9. To-Do for This Week: • Look through chapter 1 • Download and install the JDK • Download and install TextPad • First Application • Enter the “hello world” text into a textpad window • Click “save as” • Change the filetype to “any” • Save as HelloWorld.java • Compile your java file (tools -> external tools -> compile java application) • Run your application (tools -> external tools -> run java application)

More Related