Section 1

Preview this deck

(char) ((int) 'A'+2)

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (15)

Section 1

(15 cards)

(char) ((int) 'A'+2)

Front

'C'

Back

nextLine ( )

Front

Scanner function to read the next line of text

Back

A=new int[10];

Front

Array allocation

Back

length ( )

Front

length of a string

Back

System.out.print ( )

Front

(prints output without a newline) prints a string without a terminating newline

Back

java

Front

Thomas command to run compiled .class file

Back

charAt (i)

Front

Gets character from string

Back

Basic data types

Front

int, char, boolean, double

Back

int [ ] A;

Front

Array variable declaration

Back

Reference Types

Front

String, array

Back

nextInt( )

Front

Scanner function to read an integer

Back

javac

Front

Thomas command to compile Java source code

Back

System.out.println ( )

Front

prints a string with a terminating new line

Back

import

Front

includes prewritten code libraries

Back

length

Front

length of an array

Back