Unlock the full course today
Join today to access over 15,000 courses taught by industry experts or purchase this course individually.
Want to get more out of the Java language and platform? In this platform- and framework-neutral course, instructor Bethan Palmer digs into some of the language’s more advanced features, helping you expand your programming skills as she equips you with techniques you can use when building applications anywhere Java is used: in web, mobile, and desktop applications. Bethan covers a variety of topics, including generics, working with the Collections Framework, and functional programming. Plus, learn about I/O in Java, working with files and directories, and structuring applications using the modular system available in Java.
Software Developer and Java ChampionBethan Palmer is a developer who loves technology and has a master's degree in computer science.For her day job, Bethan is a Java programmer and the product manager for a Java PDF library at IDRsolutions. She gets to spend a lot of time writing and refactoring code, as well as deciding on product strategy and road maps. She also spends much of her time attending conferences and is a regular speaker at Oracle Code One and NetBeans Days. She manages and writes articles about Java, technology, the books she's reading, and conferences she's attending on the Java PDF blog.
Skills covered in this course
For each course you will get
- Exercise files and quizzes
- Certificate of completion from LinkedIn
- Offline and audio-only options
Learn advanced Java programming“
- [Instructor] Generics are a way to tell a compiler what type of object a collection can contain. Here I have a class called generics example which has two short blocks of code inside the main method. Both blocks do the same thing, they create an array list and add a string to it. Then they get the first element in the list and print it out to the terminal. If I run this program you can see that the output for both is the same. The first example does this without generics. When I assign the string name to the first element in the list, I have to cast it to a string. In the second example, generics are used. When I create the list, I specify in the angled brackets that this is a list of strings. This means that there is no need to cast the object to a string when I assign it to a variable. This might only look like a small change, and the code is actually no shorter. I have just moved the word string but the advantage of using generics means that the compiler checks that only strings…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Download the exercise files for this course. Get started with a free trial today.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Watch this course anytime, anywhere. Get started with a free trial today.