HELP |  STORE |  SEARCH:              STUDENTS | PARENTS | EDUCATORS
CollegeBoard for Educators
 
Print Page
 > The Courses > Course Home Pages > The AP Java Subset: Summary Table of Language Features

The AP Java Subset: Summary Table of Language Features

Teacher
Computer Science A
A summary table is provided that outlines the features that are tested on the A and AB exams, the AB exam only, and those features that are useful but are not tested on either exam.

Tested in A, AB exam Tested in AB exam only Potentially relevant to CS1/CS2 course but not tested
int, double, boolean   short, long, byte, char, float
+ , -, *, /, %, ++, --   Using the values of ++, -- expressions in other expressions
=, +=, -=, *=, /=, %=    
==, !=, <, <=, >, >=    
&&, ||, ! and short-circuit evaluation   <<, >>, >>>, &, ~, |, ^, ?:
(int), (double)   Other numeric casts such as (char) or (float)
String concatenation   StringBuffer
Escape sequences \", \\, \n inside strings   Other escape sequences (\', \t, \unnnn)
System.out.print, System.out.println   System.in, Stream input/output, GUI input/output, parsing input, formatted output
    public static void main(String[] args)
1-dimensional arrays 2-dimensional rectangular arrays Arrays with 3 or more dimensions, ragged arrays
if, if/else, while, for, return   do/while, switch, break, continue
Modify existing classes, design classes    
public classes, private instance variables, public or private methods or constants   protected or package visibility
    javadoc
static final class variables   final local variables, final parameters, final instance variables, final methods, final classes
static methods   static non-final variables
null, this, super, super.method(args)   this.var,
this.method(args),
this(args)
Constructors and initialization of static variables   Default initialization of instance variables, initialization blocks
Understand inheritance hierarchies. Design and implement subclasses. Modify subclass implementations and implementations of interfaces.    
Understand the concepts of abstract classes and interfaces. Design an interface. Design and implement abstract classes  
Understand equals, ==, and != comparison of objects
Comparable.compareTo
  clone, implementation of equals
Conversion to supertypes and (Subtype) casts   instanceof
    Nested classes,inner classes
Package concept, import packageName.ClassName;   import x.y.*, defining packages, class path
Exception concept, common exceptions, Throwing standard unchecked exceptions Checked exceptions try/catch/finally, throws
String, Math, Random, Object, ArrayList Comparable, List, Set, Map, Iterator, ListIterator, LinkedList, HashSet, TreeSet, HashMap, TreeMap  
Wrapper classes (Integer, Double)    
    Sorting methods in Arrays and Collections

More...
 Computer Science AB: The AP Java Subset
 Computer Science A: The AP Java Subset


See also...
  Course Home Page Index
  Personal Profile

CONTACT |  CAREERS |  ABOUT US |  PRIVACY |  TERMS OF USE |  PRESS
Copyright © collegeboard.com, Inc.
  MY AP CENTRAL
    Personal Profile
   THE COURSES
    Course Home Pages
    Course Descriptions
    Sample Syllabi
   THE PROGRAM
    Starting an AP Program
    Achieving Equity
    AP Research and Data
    AP Scholar Awards
    AP International
   PRE-AP
    Teachers' Corner
    Workshops
    Publications
    FAQs
   HIGHER EDUCATION
    Setting Credit and Placement Policy
    Course and Exam Development
    AP Research
    Find Credit Policy Information
    Get Involved
   PROFESSIONAL DEVELOPMENT
    About Institutes and Workshops
    Online Events
    Getting Started for Teachers
    Professional Development Research
    Become an AP Exam Reader
    Become a Consultant
    College Board Fellows
   THE EXAMS
    All About the Exams
    Exams Calendar
    For Coordinators
    Fees & Reductions
    Exam Questions
    Exam Tips