Sveriges mest populära poddar

How to Program with Java Podcast

Variables in Java

32 min • 22 september 2012
Interested in starting your coding career?

I'm now accepting students into an immersive programming Bootcamp where I guarantee you a job offer upon graduation. It is a 6 month, part-time, online Bootcamp that teaches you everything you need to know to get a job as a Java developer in the real-world.

You can learn more via https://www.coderscampus.com/bootcamp

 

Fundamentals of Programming with Java

- All programming languages share common traits - Java in particular is an Object Oriented programming language - Everything can be represented as an Object (think of of nouns in the English language) - a Chair, a Desk, a Person, a User etc.

Variables

- What is a variable? - In computer programming, a variable is a storage location and an associated symbolic name which contains some known or unknown quantity or information, a value.

- cryptic, here's what it really means: - Store information for later use, and store it in a way that you can reference it - this is known as a variable name! - variable name is just a word, a word that represents what you're storing

- if you go to a website, website asks for your name, you type it in, boom that's a variable

Variables have Types

- String - store a regular sentence (alphanumeric - numbers and letters) - Integer - Whole numbers on (no decimals) - Double - Number with decimals (about 16 significant figures) - Float - Number with fewer decimal places than Double (about 8 significant figures)

Your Homework

https://www.coderscampus.com/basic-programming-concepts/

Förekommer på
00:00 -00:00