COMP 1406 Lecture Notes - Lecture 1: Javac, Java Bytecode, Object-Oriented Programming

88 views4 pages

Document Summary

In this section we go over the basics of java. You should be familiar with a lot of this material from your previous course (although the details might di_er because of the language). The java tutorials : all of the language basics https://docs. oracle. com/javase/tutorial/java/ nutsandbolts/index. html. Chapter 1 and 2 of dr. lanthier"s notes http://people. scs. carleton. ca/~lanthier/teaching/ Java for python programmers (interactive textbook) http://interactivepython. org/runestone/static/ java4python/index. html. Java is an object oriented language that is based on classes and objects. A class creates a new data type that has both state and behaviour. An object of a class is an instantiation of that data type. Objects have attributes (or _elds) that store data. Should have seen this in comp 1005/1405. Objects have methods (functions) that are part of the classes/objects. Methods typically act on (use and modify) the state of an object. We will spend a lot of time with this in comp 1006/1406.

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
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents