All AP Computer Science A Resources
Example Questions
Example Question #5 : Object Oriented Program Design
Which of the following header statements allow you to omit using the std:: when using cout?
Possible Answers:
using namespace std;
You don't need a header statement.
#include <standard>
#include <iostream>
#include <cmath>
Correct answer:
using namespace std;
Explanation:
You must put using namespace std; at the top of your file to avoid having to type std:: every time you use cout and cin.
All AP Computer Science A Resources
Popular Subjects
Math Tutors in New York City, ACT Tutors in Houston, ISEE Tutors in Philadelphia, Statistics Tutors in Seattle, Biology Tutors in San Diego, ACT Tutors in Denver, ISEE Tutors in Atlanta, Algebra Tutors in Philadelphia, LSAT Tutors in Phoenix, English Tutors in Houston
Popular Courses & Classes
SSAT Courses & Classes in Philadelphia, ACT Courses & Classes in Philadelphia, LSAT Courses & Classes in Houston, Spanish Courses & Classes in Houston, ISEE Courses & Classes in San Diego, GMAT Courses & Classes in Los Angeles, GMAT Courses & Classes in Atlanta, ISEE Courses & Classes in Dallas Fort Worth, GRE Courses & Classes in Denver, GMAT Courses & Classes in Phoenix
Popular Test Prep
ISEE Test Prep in Miami, LSAT Test Prep in Houston, SSAT Test Prep in New York City, ACT Test Prep in Denver, GMAT Test Prep in Los Angeles, ACT Test Prep in Philadelphia, GMAT Test Prep in New York City, ISEE Test Prep in Dallas Fort Worth, GMAT Test Prep in Miami, GMAT Test Prep in Atlanta