Dr. Jalal Kiswani
Contact

Personal Website

    • Home
    • Businesses and Startups
      • JK-Framework
      • JK-CodeGen
      • JK-AppStudio
      • Final-Solutions
      • Solid-Soft
    • Resume/CV
      • Key Expertise
      • Education
      • Professional Certificates
      • Professional Experience
      • Articles and Technical Notes
      • Research Papers
    • Opinions
      • Professional Quotes
    • Tutorials
      • Maven
      • Tomcat
      • Git
      • MySql
      • MongoDB
    • Training Plans
      • Introduction to Java
        • Tools and Software
        • Day 1: Environment
        • Day 2: Fundamentals
        • Day 3: OOP
        • Day 4: MySQL
        • Day 5: JDBC
      • Web Development
        • Tools and Software
        • Day 1: HTML
        • Day 2: CSS
        • Day 3: JavaScript
        • Day 4: JQuery
        • Day 5: Others
      • Java Server Faces (Jakarta Faces) Development
        • Tools and Software
        • First Project
        • PrimeFaces
        • JSF LifeCycle
        • JSF Forms
        • Charts
Personal Website default
  • Personal Website
    • default
  • Personal Website
  • Training Plans
  • Introduction to Java
  • Day 2: Fundamentals

Day 2: Java Fundamentals

Readings

  • https://www.w3schools.com/java/default.asp

  • https://www.w3schools.com/java/java_intro.asp

  • https://www.w3schools.com/java/java_syntax.asp

  • https://www.w3schools.com/java/java_comments.asp

  • https://www.w3schools.com/java/java_comments.asp

  • https://www.w3schools.com/java/java_variables.asp

  • https://www.w3schools.com/java/java_data_types.asp

  • https://www.w3schools.com/java/java_type_casting.asp

  • https://www.w3schools.com/java/java_operators.asp

  • https://www.w3schools.com/java/java_strings.asp

  • https://www.w3schools.com/java/java_math.asp

  • https://www.w3schools.com/java/java_booleans.asp

  • https://www.w3schools.com/java/java_conditions.asp

  • https://www.w3schools.com/java/java_switch.asp

  • https://www.w3schools.com/java/java_while_loop.asp

  • https://www.w3schools.com/java/java_for_loop.asp

  • https://www.w3schools.com/java/java_break.asp

  • https://www.w3schools.com/java/java_arrays.asp

Practice

Create Java applications that:

  • Create large array

    • Read (n) number from the user using Scanner calss (should be more than 10,000)

    • Create Array with the (n) number as the size

    • Fill the array with random numbers using java Random class (numbers should be between 1 and 1000)

    • [optional] Write array to text file where each file should be written on single line

  • Calculate and Print

    • Sum of all the array items.

    • Average of all the array items

    • Most frequent three numbers

  • Push your work to GitLab

Day 1: Environment Day 3: OOP

Copyright © 2022 Dr. Jalal Kiswani. PhD