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
Learn advanced Java programming“
- A second way to handle threads in Java is the runnable interface. in this example, I have a class called runnable example, which implements runnable. One of the benefits of impelmenting a runnable interface, instead of extending the thread class, is that if my class extends the thread class, than I can't extend any other classes. In Java, you are only allowed to extend one class. But because my class implements runnable, it can extend other classes if I want it to. I have then overridden the run method and in here I have put all the codes that I want to run when I create a thread using my runnable. In this example, I have used a while loop to print out every number from 1 to 100, and after each number it prints the name of the current thread. I also have a main class with a main method in it. In order to use my runnable example class, the first thing I need to do is create a variable of type thread. I will call it thread1 and assign it to a new thread. There is a constructor of the…
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.