ShmoopTube

Where Monty Python meets your 10th grade teacher.

Search Thousands of Shmoop Videos


AP Computer Science Videos 112 videos

AP Computer Science 1.2 GridWorld Case Study and APIs
493 Views

AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?

AP Computer Science 1.4 Standard Algorithms
200 Views

AP Computer Science 1.4 Standard Algorithms. How many times will mystery be called for mystery(n) for n > 1?

AP Computer Science 2.3 Classes and Objects
191 Views

AP Computer Science 2.3 Classes and Objects. Which of the following is correct implementation of the Country class?

See All

AP Computer Science 2.2 Standard Data Structures 178 Views


Share It!


Description:

AP Computer Science 2.2 Standard Data Structures. Which of the following is an incorrect array initialization?

Language:
English Language

Transcript

00:00

Thank you We sneak And here's your all new brand

00:07

new shmoop do sure it's new Which of the following

00:12

is an incorrect array Initialization and hear your pencil Double

00:19

double double or not all right looks like we're trying

00:23

to create an array of doubles called numbers and there

00:25

are a handful of ways to go about it Well

00:28

there are two main steps in the process of creating

00:30

in a race first declaring the variable to refer to

00:34

an array then initializing the thing and allocating the computer's

00:38

memory for our desired number of elements Well those two

00:41

steps can be done on one line or two but

00:44

one of the given options is definitely incorrect which is

00:47

the odd one out Yet there's a subtle nuance are

00:53

well if you didn't catch it you're going to face

00:55

palm it's eat which is missing The key operator knew

00:59

without that the compiler will roll its eyes give youa

01:01

growth looking error and email everyone on your contact list

01:05

saying get a load of this clown or just the

01:07

air apart but i don't get it twisted new nixon

01:10

new array

Related Videos

AP Computer Science 1.2 GridWorld Case Study and APIs
493 Views

AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?

AP Computer Science 1.4 Standard Algorithms
200 Views

AP Computer Science 1.4 Standard Algorithms. How many times will mystery be called for mystery(n) for n > 1?

AP Computer Science 2.3 Classes and Objects
191 Views

AP Computer Science 2.3 Classes and Objects. Which of the following is correct implementation of the Country class?

AP Computer Science 3.4 Inheritance, Abstraction, and Polymorphism
204 Views

AP Computer Science 3.4 Inheritance, Abstraction, and Polymorphism. Which of the following will satisfy the conditional if statement for boo, str,...

AP Computer Science 4.2 Standard Algorithms
191 Views

AP Computer Science 4.2 Standard Algorithms. What kind of algorithm is the following?