Java Introduction
Java Introduction
Java Introduction
Solving
References
1.Paul Dietel, Harvey Dietel “Java How to Program”, Pearson Education Ltd, 10th
Edition, 2015.
2. Cay S. Horstmann and Gary Cornell, “Core Java: Volume I – Fundamentals”,
Sun Microsystems Press, Ninth Edition, 2013.
Objectives
• To provide essential skills for developing solutions in a structured,
algorithmic format using pseudo code
• To introduce implementation of the algorithms with computer
programming and presentation of results in a clear manner
• To develop problem solving skills and core programming techniques
Outcome
• On completion of the course, students will have the ability to
• Use basic data structures, and produce programs employing
them
• Express algorithms using sequencing, conditional and iterative
constructs
• Implement and solve mathematical and scientific problems in
Java language.
Course Components
Component Duration Weightage
Object
• Collection of objects
• Defines object properties,
behavior and structure.
Instance
• Concrete object
• Created from a particular
class
https://www.oracle.com/technetwork/java/javase/downloads/ind
ex.html
• To develop Softwares
• Sequence
• Branching (Selection)
• Loop (Repetition)
How to draw flowchart
How to draw flowcharts
Symbols
• Assignment symbols
• Mathematical Operators
• Relational Operators
• Logical Operators
• Control Statements (also called as selection)
• Loop control Statements (also called as branching)
Assignment Symbols (or =)
• Every line of code that can actually run needs to be inside a class.
• Class name can start with any name but the first letter of the class name
should starts with a capital letter.
• File name should be as same as the class name.
My First program in JAVA