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“
- A common type of input that needs to be read into a program is file inputs. In this example, I have a text file called 'Example', which contains several lines of text. I want to be able to print out the file, line by line, in my program. One of the ways to do this is with a buffered reader. Buffered readers allow you to read lines of characters, and will work with multiple input encodings. So you can use them to read files in languages from all over the world. So, in my main method, the first thing I need to do is gut the file. So I will create a new file variable, and call it my file, and I will assign it to a new file variable. Parsing in the name of the file, which is 'Example.txt'. I also have to make sure I have the inport statements for the file. The file is the same folder as my NetBeans project, so I don't need to include any information about the path. Next, I need to create a buffered reader variable, which I will call 'reader', and I will assign it to a new buffered…
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.