Flashcards
Chapters 1 2 and 3
Cards in this deck (10)
- 1GUIgraphical user interface
- 2public static void Main(String[] args) whats wrong with that?Java is case sensitive
- 3what does public do/what is it referred to as?its the access modifier, they control the level of access other parts of a program have to this code
- 4what follows this public class ____the name of the class
- 5what are the rules for class nameS?they names must begin with a letter and after that can have any combination of letters and digits, cant use Java reserved words
- 6do the file name for the source code and the public class name need to be the same or different or does it not matteR?need to be the same
- 7system.out.print what will this do?it won't print the next parameter on newline; if it was print.("hello!) then the next thing would show up directly after the !
- 8what are the 3 types of comments an when are they used?// for one sentence
/* for over a few lines of code
/** */ for a preset info input - 9what does a 'strongly typed language' mean?every variable must have a declared type
- 10how many primitive types are there in java?
Information
- Description
- Programming Flashcards on Chapters 1 2 and 3, created by Sarah Williamson on 06/08/2017.
- Created by
- Sarah Williamson
- Views
- 0
- Rating