Java – A Comprehensive Approach
About the course
E & ICT Academy introduces an online course on Java Programming. The objective of this course is to provide a comprehensive approach to Java programming. This course covers the insights of Java programming well supported by a comprehensive implementation of concepts. The course lectures are demonstrated through videos which will create a virtual classroom environment for participants. The participant taking this course will get well versed with basic programming concepts including Object oriented programming, which is the critical part of Java programming. Taking this course will develop a self-confidence in the participant to create a console based Java application.
The following applications can be created by the participants after successful completion of the course:
1. Basic Calculator: This application calculates and displays the result of all mathematical operations of two numbers.
2. Advanced Calculator: This application calculates and displays the result of desired mathematical operation of two numbers.
3. Area Calculator: This application calculates and displays the area of the desired triangle.
The faculty members taking this course can impart their knowledge and learn to the students, to the fellow teachers and train them in Java Programming.
Pre-requisites for learning Java Programming
- You should have a 32-bit system where you can install the runtime environment or IDE.
- You should also have knowledge of basic programming concepts like variables, data-types functions etc.
- Knowledge of Object Oriented Programming concepts (OOPs) is Must.
- If you know C++ or any other Object Oriented Programming Language, it’ll be very easy for you to learn Java.
1. Basic concepts of Java
Java is specifically defined and comprises of a programming language, a Java compiler, a runtime which is JVM or Java Virtual Machine and the core libraries. The Java runtime allows software developers to write program code in other languages than the Java programming language which still runs on the Java virtual machine. The Java platform is usually associated with the Java virtual machine and the Java core libraries. Java is a programming language created by James Gosling from Sun Microsystems (Sun) in 1991. The main objective of Java is that once the code is written in Java, it can be executed on multiple operating systems. The first version of Java available to public was launched in the year 1995 which was Java 1.0. In 2010, Oracle Corporation took over Sun Microsystems. Java is an Object oriented language. The term Object Oriented Programming means a method of implementing the programs organized as cooperative collection of objects. Each of these objects is representing an instance of the class and these classes being associated with other classes through inheritance relationship.
Topics: Java Memory Management, Introduction to Java, Nut and bolts of Java, Java code basics, Java IDE's
2. Java Installation Instructions
To run Java programs on your computer you must at least have the Java runtime environment (JRE) installed. This might already be the case on your machine. You can test is the JRE is installed and in your current path by opening a console (if you are using Windows: Win + R, enter cmd and press Enter) and by typing in the following command.
Topics: Java Installation on Windows, Java Installation on OS X, Notepad++ Installation on Windows, BlueJ Installation instructions
3. Let's Begin!
A Java package is a group of similar types of classes, interfaces, and sub-packages. Package in Java can be categorized in two form, built-in package, and user-defined package. There are many built-in packages such as java, lang, awt, javax, swing, net, io, util, sql etc. Here, we will learn in detail, how to create and use these user-defined packages. Some special IDEs are NetBeans, Eclipse, IntelliJ IDEA etc.
Topics: My first program, Working with arguments on console application, Java Packages, BlueJ basics, Getting help - API documentation
4. Introduction to Variables
Variables are defined on basis of predefined data types, classes and user define datatypes. Variables in Java can be defined anywhere in the code (inside a class, inside a method or as a method argument) and can have different modifiers. Depending on these conditions variables in Java are Instance Variable, Static Variable, Local Variable, Method Parameter. An instance variable is associated with an instance of the class (also called object). Access works with these objects. Instance variables can have any access control and can be marked final or transient. Instance variables marked as final cannot be changed after a value has been assigned to them.
Topics: Variable basics, Working with Variables, Working with BigDecimal variable type, Working with numeric variables, Working with operators, Introduction to Boolean variables, Introduction to Character variables, Introduction to Java Operators
5. Introduction to Java Objects
When you look at the world around you, what do you see? You see objects. In programming, objects are nothing more than representations of things. It's actually pretty simple. The world around you is a representation of stuff. You look at something, and you can probably tell me its characteristics. It's an object. Specifically, it can be more than that, it may be a keyboard object or a person object or even a car object as well. However, it will still be an object. Although Java has a bit different definition, however, it is almost similar to a real world entity.
Topics: Introduction to Java Object data types, Introduction to string class, Working with variables and strings, Working with strings - Advanced, Working with Strings - Comparison, Working with Strings - Numeric values formatting, Working with strings - Parsing, Introduction to Dates and Times in Java, Practical Application 1- Calculator, Solution: Practical Application 1
6. Code Errors
Both java.lang.Error and java.lang.Exception classes are subclasses of java.lang.Throwable class, but there exist some significant differences between them. java.lang.Error class represents the errors which are mainly caused by the environment in which application is running. For instance, the exception OutOfMemoryError occurs in case of JVM running out of memory or StackOverflowError occurs in case of stack overflow.
Topics: Type of errors - Syntax, Logical and run-time errors, Remove errors with the help of IntelliJ IDEA, Using try-catch to handle exceptions, Error handling: Advanced, Working with Exceptions
7. Understanding program flow
A while loop is a repetition control structure that allows you to write a block of code which is executed until a specific condition evaluates to false. A loop statement allows us to execute a statement or group of statements multiple times and following is the general form of a loop statement in most of the programming languages. A switch statement allows a variable to be tested for equality against a list of values. Each of these values is referred to as case, the variable which is switched on is evaluated for each case.
Topics: Conditional Logic basics, Working with Switch statement, Working with loops, Working with Methods, Overloading in Java, Working around arguments, Practical Application 2 - Advanced Calculator, Solution: Practical Application 2
8. Introduction to Data Collections
Collections are nothing but group of objects stored in well defined manner. Earlier, Arrays are used to represent these group of objects. But, arrays are not re-sizable. size of the arrays are fixed. Size of the arrays can not be changed once they are defined. This causes lots of problem while handling group of objects. To overcome this drawback of arrays, Collection framework or simply collections are introduced in java from JDK 1.2. Collection interface is the root level interface in the collection framework. List, Queue and Set are all sub interfaces of Collection interface. JDK does not provide any direct implementations of this interface. However, the direct implementations of it’s sub interfaces is provided by JDK.
Topics: Mapping unordered data, Arrays, Two-dimensional arrays, Resizeable arrays, Loops
9. Introduction to Custom Classes
A custom class adds flexibility to the standard mechanism provided by Designer for defining message processing. For example, you can define validation rules, mapping rules and processing rules using the inbuilt formula language. You can also define these rules using custom classes. The fields of an internal message can be manipulated by a custom class. Which means that a custom processing class can access all the fields of an internal message.
Topics: Encapsulation, Instantiation, Classes - Advanced, Relationships in Java, How to store data?, Instance vs Static Methods, Working with constructors, Working with static variables, Introduction to enum types
A class can be derived from another class. In this case this class is called a subclass. Another common phrase is that a class extends another class. The class from which the subclass is derived is called a superclass.
Topics: Inheritance and Polymorphism, Advanced Concepts: Overriding and Extension, Interfaces, Abstract classes and methods
11. Introduction to Java Libraries
There are certain dynamically loadable libraries which can be called by a Java application at runtime. The set of these libraries is known as Java Class Library or JCL. The applications cannot depend on any platform-native libraries due to the fact that Java is platform independent. On the other hand, Java platform includes a set of standard class libraries including functions which are common to modern operating systems.
Topics: File Management: Custom File class, File Management: New I/O Library, File Management: Apache, Common FileUtils, Reading a text file
12. Deploying an Application
After the application is being build, it is then deployed from the command line with the help of Java command. In order to run an executable JAR file, you can use the –jar option of the command.
Topics: Using Javadoc, JAR files
Q1. Who is our Instructor?
Ans. All our instructors are domain experts from the Industry or are from world-renowned academic Institutes and have at least 10-12 yrs of relevant experience in their domains. They are subject matter experts and are trained by E & ICT Academy for providing online training so that participants get a great learning experience.
Q2. What are the payment options?
Ans. You can pay by Credit Card, Debit Card or Net Banking from all the leading banks. We use a SBI Payment Gateway. Additionally, you may send us a cheque with appropriate details or use wire transfer.
Q3. How to get my queries resolved?
Ans. You can email us at email@example.com
Q4. What internet speed is required to attend the LIVE classes?
Ans. 1Mbps of internet speed is recommended to attend the LIVE classes. However, we have seen people attending the classes from a much slower internet.
Q5. How soon after signing up would I get access to the learning content?
Ans. As soon as your payment is verified, you will immediately get access to our course content in the form of a complete set of previous class recordings, PPTs, PDFs and assignments. You can start learning right away.
Q6. What are the system requirements?
Ans. Your system should have a 4GB RAM, a processor better than core 2 duo and operating system can be of 32bit or 64 bit.
Q7. Will Windows system work?
Ans. Yes, to work on Android on your Windows, you must install Java Development Kit (JDK) & Android Studio on your Windows Machine.
Q8. What are the prerequisites to start learning Mobile Computing?
Ans. You must have basic working knowledge of Java. Please check prerequisite.
Registration is required for course enrollment and scholarship request. You will get an activation link in the mail. Click on it and follow the instructions to complete your registration. Login with your username and password. You will be redirected to your dashboard. You can browse available courses from Home Page or by clicking Courses link on menu bar. Navigating to a course will give you two options: 1.Direct Enrollment 2. Scholarship Enrollment Logged in user can fill their details in the 'Scholarship Application' available in each course. We will mail you further details after processing your application based on your academic and professional record. Note: Scholarship Eligibility: After processing your scholarship request, we will send you the necessary details. You can directly enroll for the course by clicking on ‘Direct Enrollment’, if you do not require scholarship.
Click on 'Register' link on the menu bar
Click on activation link in the email
Click on 'Login' link on the menu bar
Click on 'Courses' link on the menu bar
Click on 'Scholarship Enrollment' in the course
1. Click on 'login' link and enter your username and password. or
2. Click on 'Register' link for registering on our website.
1. Faculties from the states of Haryana, Punjab and U.P. and U.T.s of Chandigarh and Delhi are eligible for partial or full scholarship.
2. Also the candidates belonging to SC / ST category can also avail full scholarship of Rs. 12,500(You need to submit SC / ST certificate in a format prescribed by the Central Govt. :
Click on 'Direct Enrollment ' in the course
Registration is required for course enrollment and scholarship request.
You will get an activation link in the mail. Click on it and follow the instructions to complete your registration.
Login with your username and password. You will be redirected to your dashboard.
You can browse available courses from Home Page or by clicking Courses link on menu bar. Navigating to a course will give you two options: 1.Direct Enrollment 2. Scholarship Enrollment
Logged in user can fill their details in the 'Scholarship Application' available in each course.
We will mail you further details after processing your application based on your academic and professional record.
After processing your scholarship request, we will send you the necessary details.
You can directly enroll for the course by clicking on ‘Direct Enrollment’, if you do not require scholarship.
*CGPA to percentage conversion formula:
Equivalent Percentage = CGPA obtained X 9.5 X (10/CGPA Scale)
Example: If CGPA obtained is 8.00 on the scale of 10, then Equivalent
percentage will be 8.00 X 9.5 X (10/10) = 76%,
or If CGPA is 3.7 out of 4, then Equivalent percentage will be 3.7 X 9.5 X (10/4) = 87.88%
We urge you to provide correct information to your best knowledge. Certificates will be withheld if found that you have misrepresented any data / information.
Basic Concepts of Java
Java Memory Management
Introduction to Java
Nut and bolts of Java
Java code basics
Java Installation Instructions
Java Installation on Windows
Java Installation on OS X
Notepad++ Installation on Windows
BlueJ Installation instructions
My first program
Working with arguments on console application
Getting help - API documentation
Introduction to Variables
Working with Variables
Working with BigDecimal variable type
Working with numeric variables
Working with operators
Introduction to Boolean variables
Introduction to Character variables
Introduction to Java Operators
Introduction to Java Objects
Introduction to Java Object data types
Introduction to string class
Working with variables and strings
Working with strings - Advanced
Working with Strings - Comparison
Working with Strings - Numeric values formatting
Working with strings - Parsing
Introduction to Dates and Times in Java
Practical Application 1- Calculator
Solution: Practical Application 1
Type of errors - Syntax, Logical and run-time errors
Remove errors with the help of IntelliJ IDEA
Using try-catch to handle exceptions
Error handling: Advanced
Working with Exceptions
Understanding program flow
Conditional Logic basics
Working with Switch statement
Working with loops
Working with Methods
Overloading in Java
Working around arguments
Practical Application 2 - Advanced Calculator
Solution: Practical Application 2
Introduction to Data Collections
Mapping unordered data
Introduction to Custom Classes
Classes - Advanced
Relationships in Java
How to store data?
Instance vs Static Methods
Working with constructors
Working with static variables
Introduction to enum types
Inheritance and Polymorphism
Advanced Concepts: Overriding and Extension
Abstract classes and methods
Introduction to Java Libraries
File Management: Custom File class
File Management: New I/O Library
File Management: Apache Common FileUtils
Reading a text file
Deploying an Application