Final Exam: Apprentice Developer
Intermediate
- 1 video | 32s
- Includes Assessment
- Earns a Badge
Final Exam: Apprentice Developer will test your knowledge and application of the topics presented throughout the Apprentice Developer track of the Skillsoft Aspire Apprentice Developer to Journeyman Developer Journey.
WHAT YOU WILL LEARN
-
Use enums (enumerated types) along with switch statementsidentify differences between primitive and object types in javause nested if-else conditions to deal with mutually exclusive conditionsuse the logical and, logical or, and logical negation operatorsuse while loops to control the number of times a block of code executes based on the value of a specific expressioncorrectly initialize objects of inner classescorrectly initialize objects of static nested classesrecognize how variables of reference types are governed by pass-by-reference semantics in javarecognize how exceptions such as nullpointerexception, numberformatexception, and indexoutofboundsexception occur in codeperform operations such as copying files, checking for their existence, and deleting files using the files class in the java.nio namespacerecognize what member variables, static member variables, and member functions areperform operations such as copying and creating directories using the files class in the java.nio namespacecorrectly invoke a method that throws an exception of a checked exception typeuse the dataoutputstream class to write primitive types and strings to byte streamsdefine and invoke a parameterized constructor to instantiate objects of a classinstall java on a unix or mac systemimplement the serializable interface in user-defined classes so that they can be written to and read from using objectoutputstream and objectinputstream objectuse multiple independent catch blocks with a single try blockidentify use-cases for the unary increment and decrement operatorsdefine and invoke constructors in classes to correctly initialize member variablescustomize intellij to incorporate your individual preferencesinvoke static and non-static methods of a classrecognize the precise semantics of the try-with-resources construct in javadescribe and use the -=, *=, %= and %= self-assignment operatorscreate files using both the legacy java.io as well as the modern java.nio namespacesuse the objectoutputstream class to write objects of any type to byte streamsuse strings in if-else constructs, relying on the .equals method and avoiding the == operatorenumerate differences between checked exceptions, runtime exceptions, and errorsdefine and invoke multiple constructors to instantiate objects of a classcreate wrapper objects such as integer, float, etc. to encapsulate primitive (non-object) data types
-
differentiate between equality tests based on the == operator and .equalsinstall the eclipse ide on a mac-based systemcreate and use enums (enumerated data types) in javautilize both single-line as well as multi-line comments in javathrow an object of a built-in exception type in order to respond to an unexpected situation in a programwork with variables of double, char, and string types in javause the do-while loop control structure to ensure that the body of a loop is always executed at least once, regardless of the value of the loop variablecreate string objects using different input arguments and forms of memory allocationuse for loops to iteratively execute a block of codecorrectly chain constructors to achieve code reuserecognize the exact semantics and limitations of the finally blockenumerate the important built-in exception classes in javamodify control flow in a program using the if constructrecognize how variables of primitive types are governed by pass-by-value semantics in javause the stringbuffer object to perform string operationsmake use of method overloading in your programsidentify the situations when divide-by-zero exceptions arisecopy a character file as a sequence of characters using the filereader and filereader classesread a byte stream using the inputstream and fileinputstream classesshort-circuit execution of the current loop iteration using the continue keywordlist the reasons for java’s popularitydefine and invoke getter and setter methods to access private member variables of a class from outside that classcombine multiple independent catch blocks using the | operatorperform conversions between variables of primitive typesrecognize java's class hierarchy for byte and character streamsuse string variables in switch statementsappropriately override the .tostring method provided by the object base classprematurely terminate loop execution using the break keywordcorrectly use the throws clause while defining method signaturescreate a custom exception object by extending the base class exception, and throw an instance of this exception from your code
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.