Flashcards
CSE 110 Lecture 05, 06 Notes
Flashcards do conjunto (16)
- 1a primitive data type for a character (one single letter)char
- 2returns a character (primitive of char) at the input position; the position index starts from zerocharAt(int)
- 3term used to describe the act of tying multiple String objects together through use of the plus sign (+)Concatenation
- 4a special symbol used for String or char value such as \(double quote), \(single quote), \\, \n (newline), \t (new-tab)Escape Sequence
- 5string, scannerExamples of Objects
- 6int, double, Boolean, char, float, long, short, byteExamples of Primitives
- 7the way a scanner receives inputin.Next//variableType//()
- 8a function that returns the length of characterslength()
- 9length(), charAt(int), substring (int, int)Methods of String
- 10the way to INITIALIZE a new scannernew Scanner(System.in)
- 11the way to DECLARE a new scannerScanner //scanner name//
- 12an object data type used to store a set of charactersString
- 13returns the characters from the input position until the end of the stringsubstring(int)
- 14returns a new String object with characters from the first input position to the second input positionsubstring(int, int)
- 15code used to read input dataSystem.in
- 16code used to display output dataSystem.out
Informações
- Descrição
- CSE 110 (Notes) FlashCards sobre CSE 110 Lecture 05, 06 Notes, criado por Branden Roper em 03-10-2017.
- Criado por
- Branden Roper
- Visualizações
- 3
- Tags
- Avaliação