5011.17 - Java for C++ Programmers.
Java for C++ Programmers.
Introduction to computer science (7.5 ECTS), Introduction to Programming in C++ (7.5 ECTS), Object based programming in C++ (7.5 ECTS), Object oriented programming in C++ (7.5 ECTS).
The course presents, both theoretically and practically, differences between C++ and Java. The course is aimed at a smooth transition from C++ to Java for C++ programmers.
- Theoretical and practical differences between Java and C++. - Java's development and runtime environment. - Some tools (e.g. Eclipse) for deployment and debugging of systems encoded in Java. - Use of Java's documentation. - Collections, Generics, Streams, Functional Interfaces, Lambda Features and alternatives to null (Optional class). - IO management, exceptions and serialization. - Design of user interfaces using Swing, SwingUtilities and 2D graphics. - Client-server programming with threads, Socket and Datagram. - Classes in the java.time package to manage dates and times.
Learning and teaching approaches
Remote education from Mid Sweden University: DT062G Java för C++ programmerare, / DT062G Java for C++ Programmers, and local teaching at NVD (about 3 hours/week).
After passing the course you should be able to: - describe differences between C ++ and Java especially with regard to syntax, inheritance and memory, - implement lambda functions, - adjust the selection of collection classes to different problems, - declarative programming with Javas Stream packages, - use graphical user interface (GUI) threads - use Javas 2D graphics, - use standard GUI components, layout manager and event listener / - classes, - write programs that communicate over a network, and - use different packages in Java to work against files and to serialize objects.
Approved exercises (4 ECTS) and an examination (3.5 ECTS), which will be graded and count for the final grade for this course. Note: Students that have not submitted the first home exercise during the first 3 weeks of the course will be treated as inactive and therefore be excluded from the course.
Author: Herbert Schildt Title: Java: The Complete Reference Edition: 2014, 9:e ella seinni Publisher: McGraw-Hill Website (may have changed): http://www.mheducation.co.uk/9780071808552-emea-java-the-completereference