This course will cover Java SE 7 fundamentals and equip the students to find the OCA Java SE 7 Programmer certification (IZ0-803) easy to pass. This certification is hard to achieve without proper guidance. I have organised this course from top to bottom approach which will start with variables and end with abstracts, interfaces and exceptions handling in java.
By the end of this course, students will not just follow like any other java App course without knowing that what is happening at the background but would fully understand and easy to follow without looking on google for every single error. Remember, looking for errors to resolve, takes hours of your valuable time so, why waste it if you can take this course and learn all about the errors, tricks and know about the java syntax.Trust me not only you will never regret but you will also recommend this course for other to advantage of.
This course is designed to point out key points in order to make it easy for student and to build a solid foundation in java language syntax.
Identifiers in java is key to know as this will allow a programmer to decide what is an appropriate name for a variable, class name, method name and block name.
Reserved or keyword words in java are not being used as identifiers as this will create compile time error, therefore, it a must that you should reserved keywords for exam and real life. This is why i said in the beginning that following just a java course where it shows you straight away to create an App would not make you a good programmer unless you know the language rules properly.
Primitives are not objects but they are the fundamental data types of java language. Primitives are key to know as you will be building upon and know why we need objects to work with.
In this lesson you would learn integral Data types like byte, short, int, and long, these are part of primitive data types.
Floating point data types in java language are used for decimal points and they are part of primitive data types.
Non-Numeric data types are char, boolean and String. char and boolean are part of primitive data types but String is as object used for text.
Literals are simply the data of primitive data types. In this lesson I will go through the value of byte, short, int and long and you would know that what values are allowed to assign to integral data types.
In this lesson you would learn floating point valid values and as you know floating point is part of primitive data type which are float and double.
Non-Numeric literals will be thought in this lesson. Java is Unicode based and you would learn different form of non-numeric literals. Non-numeric primitive data types are char and boolean.
In this lesson you would learn that how to assign values and result of an expressions to primitives.
Casting is key to know otherwise you will not be happy in the Exam. Primitive casting are divided in to two ways. Widening and Narrowing. Widening is from byte to short to int to long to float and to double. But Narrowing is from double to float to long to int to short and to byte. Widening is done by the compiler implicitly but Narrowing should be done by the programmer explicitly.
You should know java main() method as a program that what does each modifier mean and what are they for? In this lesson you will know public static void modifiers in main() and their orders.
Variable types are key to know and you should know that how long a variable will live or in another word when will you be able to use variable in class, method and in blocks.
In this lecture students will learn that what is a class and what is an object.
Students will have a clear picture of what is a reference variable and what is a primitive variable at the end of this lesson.
In this lesson students will learn types of variables in java language. Instance variable is the main focus in this lesson. How to declare, initialize, and use the instance variable in Java?
What happens after you run your program with Java your-filename? In this lesson students will know all the steps and they will learn when the static variables are created and destroyed.
Static variables are the other type of variable in Java and it is used to declare and initialize once and use many times. At the end of this lesson students would have a good understanding of static variable in Java.
Local variables are used inside the method, constructor, or block in Java language. This lesson explains local variables in details even for experienced java programmer.
In this lecture you will learn how to declare, initialize and retrieve values from an Array in java. what is legal, illegal and recommended declaration of an Array. In part 1 of one dimensional array you will get the idea of how arrays are working in java but detailed explanation of array is in the following lecture called Array One Dimensional par 2.
After this lecture you should not have any question left an answered regard the one dimensional array. In this lecture you will learn about the array objects created in the heap memory. what is heap memory and when an object will be created there?
What is legal and illegal in Java Arrays? This will be explained in dept and will make you ready for OCA SE 7 exam on this topic.
Be-careful of indexOutofBound Exception error! Where you would be trying to access element of an array which is not there. like you may have 10 elements in array 0-9 indexes and you may be trying to access index no. 10.
In this lesson, students will learn multidimensional array. And they will learn how to declare, initialize and retrieve values from multidimensional array in java? Heap memory will be explained again on number of objects created in multidimensional array.
In this lesson students will learn Anonymous Array in details plus lots of examples of Arrays reference variables.
Students will learn if-else and nested if statements in this lecture. what is legal and illegal to put in if condition? There are some questions for if-else statements, solve the questions before looking at the answers.
Students will learn switch statements, switch statement syntax, legal and illegal usage of switch statement. This is not one of the those topic touched lesson where students will left with hundreds questions but after this lesson on switch statement students will feel proud and ready for exam on this topic.
This lesson covers switch(expression), case constant, default, compile-time constant, constant expression in case, final variable in switch statement, and duplicate case.
Break keyword and the Fall-Through in the switch block will be covered in this lesson. Students will learn from Fall-Through that how the controller comes to switch block in java and in which order the code within the switch block are being executed.
while loop in Java is used when you are unsure that how many times a particular piece of code should run. Students will learn no only the while loop in Java through a single example like in other courses but they will be instructed on legal and illegal syntax of while loop. e.g. Unreachable statement error, getting error from final variable or error from declarative statement.
do-while loops in Java run minimum one time and apart from this differences all the rules from while loops will apply here in do-while loops. Students will get a good understanding from this lesson on do-while loops in Java.
for loops in java is a good choice if we know the number of iteration in-advance. In this lesson students will learn about the 3 sections (initialization section, conditional section, and increment or decrements section) of for loop. Students will also learn early loop termination through break, return, system.exit().
In this lesson students will learn enhanced, for-each, for-in, or the new style for loop. This loop is a good choice if when we are retrieving values from an array or collections. Students will find out legal and illegal usage of enhanced for loop in Java language.
break and continue keywords are also called transfer control. break statement can be used in switch statement, loop and blocks but continue statement in Java language can be used only in loops. Students will also learn labeled and unlabeled break and continue statements in Java language for OCA Exam.
It has been more than 10 years that I work, train and learn IT. I have worked as Computer Analyst, programmer, Network Engineer, IT Instructor and Private Contractor. I have years of field experience and academic qualification up to master level.
My philosophy of teaching is that I will not publish a course unless I am satisfied that my course will get you to your expectation. I will be there to help you on your journey to become a professional and competent individual in the field.
I will be there to answer your questions regarding my courses and I will help you through your journey to succeed.