Java vs C++ for College Credit: Which Course to Take

Home › Courses › Java vs C++

CS 210 vs CS 2423 credits eachNCCRS recommended

Java vs C++ for college credit: which course to take

Both teach object-oriented programming from the first line of code, both carry NCCRS recommendations for 3 semester hours, and neither lists a prerequisite. Take Introduction to Java if your college teaches in Java or you plan to take Data Structures and Algorithms, which is taught in Java; take Programming in C++ if your program names C++ or you want pointers and memory.

Take first
The one your college uses
Longer course
C++: 51.5 hours vs 46
Credit
3 semester hours each

What you learn

From the syllabi: what only one course covers, and where they meet.

Only in Java

  • Graphical user interfaces
  • Exceptions
  • Stacks and queues
  • Hash tables and maps
  • Trees and graphs

In both

  • Decisions and loops
  • Arrays
  • Functions and recursion
  • Classes and objects
  • Inheritance and polymorphism
  • Linked lists

Only in C++

  • Vectors
  • Structs
  • Working with files
  • Pointers and dynamic memory

Side by side

Introduction to Java (CS 210) and Programming in C++ (CS 242), from the two syllabi
 Introduction to JavaProgramming in C++
Course codeComputer Science 210Computer Science 242
Chapters12 chapters11 chapters
Instructional hours46 hours51.5 hours
Ends withMaps, trees and graph algorithmsInheritance and polymorphism
Only hereGUIs, stacks, queues, trees and graphsPointers, dynamic memory, files
ACENo: NCCRS only for both
PrerequisitesNone listed in either syllabus
Final exam100 multiple-choice questions

Both are self-paced: quizzes and the assignment are open-book, the final is proctored, and 70 or higher passes.

Which one should you take?

Take the language your college or program uses.

Take Java if

Take C++ if

  • Your program names C++
  • You want pointers and memory management
  • You want to watch free lessons first

Questions, answered

Should I learn Java or C++ first?

Take the one your college or program uses: neither syllabus lists a prerequisite, and both start from your first program. If you plan to take Data Structures and Algorithms here, take Introduction to Java, because that course is taught in Java.

What is the difference between the Java and C++ courses?

Both teach decisions, loops, arrays, functions, recursion, classes, inheritance, polymorphism and linked lists. Introduction to Java adds graphical user interfaces, exceptions, stacks, queues, hash tables, trees and graphs. Programming in C++ adds vectors, structs, files, pointers and dynamic memory. The syllabi list 46 instructional hours for Java and 51.5 for C++.

Do Java or C++ carry an ACE recommendation?

No: both are NCCRS only, each for 3 semester hours in the lower division. If you need an ACE recommendation, Programming in Python carries one (ACE ID UPIS-0011); see Java vs Python.

What are Introduction to Java and Programming in C++ worth in college credit?

Introduction to Java: NCCRS recommends 3 semester hours, lower division, in Computer Science among other subjects. Programming in C++: NCCRS recommends 3 semester hours, lower division, in Computer Science among other subjects.

Which subjects can Introduction to Java and Programming in C++ count toward?

Introduction to Java: Computer Science or Informatics. Programming in C++: Computer Science, Electrical, or Computer Engineering. Your college decides which requirement each one fills.

How long are Introduction to Java and Programming in C++?

Programming in C++ is longer by its syllabus. Introduction to Java: 12 chapters and 46 instructional hours. Programming in C++: 11 chapters and 51.5 instructional hours. Both are self-paced, so you finish as fast or as slow as you want.

How are the Introduction to Java and Programming in C++ final exams set up?

Both have the same kind of final: 100 multiple-choice questions.

What comes after Introduction to Java?

Data Structures and Algorithms. In the “Start programming” order on the Computer Science courses page, it follows Introduction to Java. Your program may set its own order.

Is the Introduction to Java final proctored?

Yes, online: under light proctoring (no camera) if you already have 70% before it, otherwise under full proctoring. The quizzes and the assignment are open-book; the Introduction to Java final is not.

What if I fail the Introduction to Java final?

Take it again: a failed Introduction to Java final comes with one free retake (fail that and you restart the course). A passed final can be retaken too, but the original score stands; for quizzes, the average of your first two attempts counts.

Will Computer Science 210 and Computer Science 242 transfer to my college?

ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities. Search your school in Find My College and ask your registrar which courses these would count as. For the registrar: Introduction to Java's NCCRS recommendation lists Computer Science and Programming in C++'s NCCRS recommendation lists Computer Science.

Where these credits can go

ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

  • Thomas Edison State University (TESU) logo
  • University of the People logo
  • Strayer University logo
  • Post University logo
  • Charter Oak State College logo
  • Indiana Tech logo
  • Columbia Southern University logo
  • University of Arkansas Grantham logo
  • American College of Education logo
  • Nexford University logo
  • Newlane University logo
  • Pathways College logo
  • Dunlap-Stone University logo
  • Woodmont College logo
  • University of Management and Technology (UMT) logo
  • Crestpoint University logo
  • Maestro University (formerly Bottega University) logo
  • Gracelyn University logo
  • EC-Council University logo

Plus many more partner colleges and ACE and NCCRS cooperating colleges.

Find My College →

Keep exploring

Check your college first

ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Sources (3)

UPI Study facts are from our course catalog, syllabi and course rules.