Search our courses
Training

This Java Programming for C++ Developers training course helps C++ developers get up to speed quickly with the Java programming language and the Java Standard Edition (SE) 7 development platform. The course focuses on the differences between the C++ and Java languages, and also explains how the C++ STL library maps to the Java SDK.

What you will learn

  •     Understanding core differences between Java and C++
  •     Defining and using classes
  •     Using arrays, collections, and generics
  •     Implementing inheritance and polymorphism
  •     Working with exceptions
  •     Multithreading
  •     Using common Java APIs and techniques

Java Programming for C++ Developers

Course Code

GTJ28

Duration

4 Days

Course Fee

POA

Accreditation

N/A

Target Audience

C++ developers needing to learn how to implement object-oriented solutions in Java.

Attendee Requirements

At least 6 months programming experience, ideally in C++

Expand all

Course Description

This Java Programming for C++ Developers training course helps C++ developers get up to speed quickly with the Java programming language and the Java Standard Edition (SE) 7 development platform. The course focuses on the differences between the C++ and Java languages, and also explains how the C++ STL library maps to the Java SDK.

What you will learn

  •     Understanding core differences between Java and C++
  •     Defining and using classes
  •     Using arrays, collections, and generics
  •     Implementing inheritance and polymorphism
  •     Working with exceptions
  •     Multithreading
  •     Using common Java APIs and techniques
Course Outline

Getting Started with Java

  •     Compiling and running Java applications
  •     The role of the JVM
  •     JAR files
  •     Understanding Ant and Maven
  •     Where to get more information about Java in online communities
  •     Common open-source libraries

Core Language Differences between C++ and Java

  •     Everything is a class
  •     Primitive types vs. reference types
  •     Packages

Miscellaneous Language Bits n Pieces

  •     Differences in variable declarations and operators
  •     Loops and decision-making differences
  •     Useful Java classes
  •     Strings
  •     Wrapper classes

Defining and Using Classes

  •     Classes in Java
  •     Differences in how to declare data members and member functions
  •     Differences in initialization and construction
  •     Parameter passing modes in Java

Arrays

  •     Declaring and using arrays
  •     A world without pointers
  •     Traversing arrays
  •     Using the Arrays class
  •     Multi-dimensional arrays

Inheritance

  •     Differences in inheritance between C++ and Java
  •     Polymorphism
  •     Abstract classes and methods
  •     Final classes and methods
  •     The Object class
  •     The lack of multiple inheritance

Interfaces

  •     Overview of interfaces, compared with pure virtual classes in C++
  •     Defining and implementing interfaces
  •     Using interfaces in client code
  •     Multiple inheritance of interfaces

Collections and Generics

  •     Overview of collections and generics
  •     Using Java collection classes vs. C++ STL classes
  •     Defining generic classes and generic methods vs. C++ template classes

Exceptions and Assertions

  •     Overview of exception handling
  •     Throwing and catching exceptions
  •     Standard exception classes
  •     Defining new exception classes
  •     Working with assertions

Going Further with the Java Language

  •     Autoboxing and unboxing
  •     Varargs
  •     Type-safe enumerations
  •     Static imports

Inner Classes

  •     Overview of inner classes
  •     Regular inner classes
  •     Method-local inner classes
  •     Anonymous inner classes
  •     Static nested classes

Multithreading

  •     Creating multiple threads
  •     Synchronizing threads
  •     Synchronization classes
  •     Concurrency API

Additional Multithreading Issues

  •     Using concurrent collections
  •     Using synchronizers and locks
  •     Thread pooling techniques
  •     Using the executor framework
  •     Using pooling effectively

Common Java APIs

  •     Reading and writing files
  •     Accessing databases using JDBC
  •     Calling Web Service

Reflection

  •     Dynamic retrieval of information using reflection vs. RTTI in C++
  •     Creating instances of extensibility objects
  •     Class fields, methods and constructors

Sockets

  •     Introduction to sockets
  •     Implementing a socket server
  •     Implementing a socket client
  •     Overview of NIO

Tuning Garbage Collection

  •     Essential concepts
  •     Understanding object lifetimes
  •     Generational collectors
  •     Heap organization
  •     Garbage collection options
  •     Garbage collection monitoring and tuning
Learning Path

There are a number of options. Please Contact Us for further details.

Ways to Attend
  • Attend a public course, check our schedule
  • Private onsite Team training also available

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 

"The course content was very good. When needed, the Instructor was extending the content of the course with hints and tips to help us understand different topics that were covered in the course."

 

Kubernetes Administration Certification - GTLFK

Live Online June 2021

 

 

 

“The course was held at the highest possible standards, the instructor was excellent, well prepared, well informed, and clearly an SME. Top marks.”

 

Professional Cloud Service Manager - GTC13

Live Online December 2021

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Administration

20th - 23rd Sept 2022

4th - 7th October 2022

18th - 21st October 2022

Live Online

This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster

Learn More

LPIC-1 PART 1

27th - 30th Sept SOLD OUT

24th -27th October

 Live Online

This Linux certification training course teaches in-depth skills in the basics of Linux Administration.
 

Learn More

PROFESSIONAL CLOUD SERVICE MANAGER

27th - 28th September with 2 hours exam prep on 29th September

 

Live Online

The Cloud Service Manager course enables participants to design and deliver cloud services. Exam prep on day 3.

Learn More

 INTRO TO PYTHON 3

11th - 13th October

13th - 15th December

 

 

Live Online        

A comprehensive introduction to the core syntax and functions provided by Python, including coverage of its object-oriented and functional programming features.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter