A1590026209_21789_20_2018_0 Lecture .ppt

pranatidubey2004 13 views 34 slides Apr 30, 2024
Slide 1
Slide 1 of 34
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34

About This Presentation

java


Slide Content

CSE310
Programming in Java
Lecture #0
The kick start session

Programming in JAVA
CSE310
•L -0
•T -0
•P -5
5 Practical/Week
Note: Laptop is compulsory.

Course Objectives
•WriteJavacodethatusesvariables,arrays,conditional,loop
constructs,primitivenumericdata,stringdataandJavaoperators.
•Accessthefieldsandmethodsofanobject,manipulatetextdata
usingthemethodsoftheStringandStringBuilderclasses.
•Declare,override,invokemethodsandusecastingwithoutlosing
precisionorcausingerrors.
•Accessandcreatestaticfieldsandmethods,useclassesfromthe
java.timeandjava.time.formatpackagestoformatandprintthe
localdateandtime.
•Useaccessmodifiers,overloadedconstructors,simpleclass
hierarchyanddemonstratepolymorphismbyimplementingaJava
Interface.
•UsePredicateLambdaexpressionasanargumenttomethod,andto
handlecheckedexceptioninJava.

Course Assessment Model
CSE310 -Marks break-up
•Attendance 5
•CA(Best two out of three BYOD Practicals) 30
•MTT (MCQ based) 20
•ETE (Mix of MCQ & Subjective) 45
Total 100

Details of Academic Tasks
•Practical 1: BYOD Practical (5
th
Week)
•Practical 2: BYOD Practical (9
th
Week)
•Practical 3: BYOD Practical (12
th
Week)

Course Contents?

Course Contents
•IntroductiontoJavaEditions,JDK,JREandbasic
programmingconstructse.g.conditionalstatements,looping
statements,operatorsandarraysetc.
•Classes, Methods and Objects
•Encapsulation, Inheritance and Polymorphism
•Date/Time API
•Lambda Expressions
•Packages
•IO Fundamentals
•Exceptions and Assertions
•Generic Programming
•Java Collection Framework

Platform Overview, Writing Programs, Basic &
Exclusive Features
Unit I

Unit
II
Classes, Objects,
Conditionals, loop, Date/Time
API etc.

Unit III
Encapsulation and
Inheritance

Date/Time API and Lambda ExpressionsUnit IV

Handling Exceptional Conditions and IO
Fundamentals
Unit V

Collections and Generic ProgrammingUnit VI

The Hitch…
BURNING questions in mind…
•Why are we learning Java?
•What will be the course outcome?

Course Outcomes
Upon completing the course, you will able to
Understanding JDK, JRE, JVM etc.
Create, compile, and run Java programs
Understand Core Java classes
Create and use methods
Establish a firm foundation on Java concepts
Exception Handling, Date/Time API and IO
Streams usage

Software Requirement
•jdk 8
•Netbeans IDE

Oracle Certification Details
•Java SE 8 Certification (Oracle Certified Associate)
•Exam Code: 1Z0-808
•Mapped with Course: CSE310

Professional Benefits
•In future, certification will be the only way to get dream job.
•Expand your knowledge base and validate your skills to
appeal to potential employers.
•Improve your potential earning power to command a higher
salary.
•Learn to perform complex, hands-on activities through lab,
study and practice sessions.
•Access a secure digital badge you can add to your social
media profiles.
•Gain exposure to a wide variety of important features,
functions and tasks to use on the job.

Important
•LPU students are being given at least 30% discount on
certification exam fee.
•Oraclelearningsubscriptionwillbeavailableforthe
completeterm(17182),thereforestudentwhowilloptfor
certificationwillbetaughtbyOracleitself.
•Onclearanceofcertificationexamthecoursewillbe
exemptedandgradewillbebasedonperformancein
certificationexam.
•Last Date to apply: 20
th
January 2018

Registration Link
https://tinyurl.com/javase8lpu
Note:
•limited seats only,
•Confirmation on First come first serve basis

Installation Steps
•Install jdk1.8.0

How to set Path in Java
•Thepathisrequiredtobesetforusingtoolssuchasjavac,
javaetc.
•Ifyouaresavingthejavasourcefileinsidethejdk/bin
directory,pathisnotrequiredtobesetbecauseallthetools
willbeavailableinthecurrentdirectory.
•ButIfyouarehavingyourjavafileoutsidethejdk/binfolder,it
isnecessarytosetpathofJDK.
•There are 2 ways to set java path:
•Temporary
•Permanent

•For setting the permanent path of JDK, you
need to follow these steps:
•Go to MyComputer properties -> Advanced
tab -> Environment variables -> new tab of
user variable -> write path in variable name ->
write path of bin folder in variable value -> ok
-> ok -> ok

Example
1)Go to MyComputer properties

2)click on Advanced System Settings tab

3)click on environment variables

4)click on new tab of user variables

5)write path in variable name

6)Copy the path of bin folder

7)paste path of bin folder in variable value

8)click on ok button

9)click on ok button

•GotoMycomputer’sProperties,select
AdvancedSettings,clickEnvironment
Variables,InAdvanced,insecondwindow
…..selectpathinthatatendputsemicolon
andcopythepathfromc:->programfiles->
java->jdk->bin,copythiscompletepathand
pasteattheendofpATHinenvironment
variable.
•OpenCMD,typejavac….itwillshowallthe
directories(itconfirmsthatjavahasbeen
installedsuccessfully)

Next Class: Introduction to Java
Tags