1620_lecture_4 - ITEC1620 Object-Based Programming Lecture...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
ITEC1620 Object-Based Programming Lecture 4 Introduction to Java
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Iconic Programming and Java Iconic programs Real programs without the syntax and overhead Overhead Text editor and compiler Syntax Click on “Java” button
Background image of page 2
3 Programming languages Machine code Binary instructions used by CPU Assembly code Mnemonic equivalents to machine code High-level programming languages Useful structures composed of multiple assembly/machine instructions
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 The Java programming language 4 th Generation Language High-level instructions for structured and object-oriented programming concepts Pure object-oriented language Everything in Java is an object C/C++ is a composite language Write once, run everywhere
Background image of page 4
5 Programming in Java Text editors/programming environments Store unformatted text for compiler Compiler – javac Convert source code (.java file) into bytecode (machine code for JVM) Execute – java Execute bytecode (.class file) on machine by using Java Virtual Machine
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 Java syntax Basic shell public class MyClass { public static void main (String[] args) { } }
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 30

1620_lecture_4 - ITEC1620 Object-Based Programming Lecture...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online