7.java Day 0
7.java Day 0
7.java Day 0
1
Course : Prog. In Java
Lecture On : Intro to Java
Edit Master
Instructor textWaseem
: Er. styles
2
Poll 1Edit Master text styles
23/05/19 Footer 11 3
Edit Master text styles
Poll 2
On a scale of 1-5, how familiar are you with Java?
• Practice in teams of 4 students
• Industry expert mentoring to learn better
• Get personalised feedback for improvements
23/05/19 Footer 11 4
Today’s Agenda
● Course Details
● Course Assessment Model
● What is Java
● Why Learn Java
● Areas of Application
● JDK & IDE Installation
● Writing First Program
• L T P – 3 0 2 [Three lectures/week]
• References
• Marks break up
• Attendance 05
• Total 100
Course Outcomes
PO2
Problem analysis: Identify, formulate, research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences.
PO3
Design/development of solutions: Design solutions for complex engineering problems
and design system components or processes that meet the specified needs with
appropriate consideration for the public health and safety, and the cultural, societal,
and environmental considerations.
Program Outcomes
PO4
Conduct investigations of complex problems: Use research-based knowledge and
research methods including design of experiments, analysis and interpretation of data,
and synthesis of the information to provide valid conclusions.
PO5
Modern tool usage: Create, select, and apply appropriate techniques, resources, and
modern engineering and IT tools including prediction and modeling to complex
engineering activities with an understanding of the limitations.
PO6
The engineer and society: Apply reasoning informed by the contextual knowledge to
assess societal, health, safety, legal and cultural issues and the consequent
responsibilities relevant to the professional engineering practice.
Program Outcomes
PO7
Environment and sustainability::Understand the impact of the professional engineering
solutions in societal and environmental contexts, and demonstrate the knowledge of,
and need for sustainable development.
PO8
Ethics::Apply ethical principles and commit to professional ethics and responsibilities
and norms of the engineering practice.
PO9
Individual and team work::Function effectively as an individual, and as a member or
leader in diverse teams, and in multidisciplinary settings.
Program Outcomes
PO10
Communication::Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend
and write effective reports and design documentation, make effective presentations, and
give and receive clear instructions.
PO11
Project management and finance::Demonstrate knowledge and understanding of the
engineering, management principles and apply the same to one’s own work, as a
member or a leader in a team, manage projects efficiently in respective disciplines and
multidisciplinary environments after consideration of economic and financial factors.
PO12
Life-long learning::Recognize the need for, and have the preparation and ability to
engage in independent and life-long learning in the broadest context of technological
change.
Course Contents
Unit I:
Unit II:
• Use conditional statements and loops (for, while, do-while) for control flow
in Java programs.
Unit III:
• Demonstrate the use of constructors and apply keywords like this, final,
and static.
Unit IV:
• Design abstract classes, create subclasses, and use interfaces with default
and static methods.
Course Contents
Unit V:
• Use arrays and linked lists effectively, and perform basic operations on
ArrayList and LinkedList.
Unit VI:
• What is Programming?
• What is Java?
• Despite been around for 27 years as of 2023, Java remains the 3rd most
popular and widely language worldwide.
• 90% of Fortune 500 companies still use Java for building high-performance
enterprise-level applications.
• Java comes with a vast standard library that provides a rich set of
classes and functions, making it easier for developers to perform common
tasks without having to rely heavily on external libraries.
Download JDK 8:
• Locate the JDK 8 download page. Make sure to download the version
appropriate for your Windows operating system (32-bit or 64-bit).
• Once the download is complete, locate the downloaded file (usually named
something like "jdk-8uXXX-windows-x64.exe" for 64-bit or "jdk-8uXXX-
windows-i586.exe" for 32-bit).
• The installer will prompt you to select the installation directory. By default, it
will be something like "C:\Program Files\Java\jdk1.8.XXX" (XXX represents
the update number). You can choose a different directory if you prefer.
• Under the "System variables" section, click "New" to create a new variable.
JDK Installation (for windows)
• Set the variable name to "JAVA_HOME" and the variable value to the path
of your JDK installation (e.g., "C:\Program Files\Java\jdk1.8.XXX").
• Next, find the "Path" variable under "System variables" and click "Edit."
• Add a new entry with the value "%JAVA_HOME%\bin" to include the JDK's
"bin" directory in your system's PATH.
• Open Command Prompt and type java -version to check if the JDK is
installed correctly. You should see the JDK version information displayed.
JDK Installation (for mac)
Download JDK 8:
• Locate the JDK 8 download page. Look for the version suitable for macOS.
• Once the download is complete, locate the downloaded file (usually named
something like "jdk-8uXXX-macosx-x64.dmg).
Install JDK:
• In the mounted disk image, double-click the JDK package file (usually
named something like "JDK 8 Update XXX.pkg").
• The macOS Installer will guide you through the installation process. Follow
the on-screen instructions to install JDK 8.
• Open a new terminal window, and type java -version to check if the JDK is
installed correctly. You should see the JDK version information displayed.
Intellij IDEA Installation
● Course Overview
● Introduction to Java
● IDE & Environment Setup
Thank You!
38