All AP Computer Science A Resources
Example Questions
Example Question #6 : Class Design
Which of the following header statements allow you to omit using the std:: when using cout?
Possible Answers:
#include <standard>
You don't need a header statement.
#include <cmath>
#include <iostream>
using namespace std;
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
GRE Tutors in Phoenix, Reading Tutors in Chicago, English Tutors in Atlanta, Algebra Tutors in Los Angeles, GMAT Tutors in Boston, GRE Tutors in San Francisco-Bay Area, Statistics Tutors in Chicago, Biology Tutors in Miami, Reading Tutors in Dallas Fort Worth, English Tutors in Chicago
Popular Courses & Classes
ISEE Courses & Classes in Philadelphia, SAT Courses & Classes in Boston, MCAT Courses & Classes in Phoenix, SSAT Courses & Classes in Chicago, GMAT Courses & Classes in San Diego, GMAT Courses & Classes in New York City, GRE Courses & Classes in San Diego, Spanish Courses & Classes in Phoenix, ACT Courses & Classes in New York City, ACT Courses & Classes in Dallas Fort Worth
Popular Test Prep
ISEE Test Prep in Dallas Fort Worth, LSAT Test Prep in Denver, ISEE Test Prep in San Diego, MCAT Test Prep in San Diego, ACT Test Prep in Houston, LSAT Test Prep in Chicago, ACT Test Prep in Dallas Fort Worth, SAT Test Prep in Houston, MCAT Test Prep in Los Angeles, GMAT Test Prep in Denver
![Learning Tools by Varsity Tutors](https://vt-vtwa-app-assets.varsitytutors.com/assets/problems/og_image_practice_problems-9cd7cd1b01009043c4576617bc620d0d5f9d58294f59b6d6556fd8365f7440cf.jpg)