Java Programming

Getting input from keyboard

Topics 

  • Two ways getting user input 
    • Getting input from command-line (using BufferedReader class) 
    • Getting input from GUI (using JOptionPane class) 
  • Converting user-entered “String” type value to “int” type value 
    • For example, capturing age of a person

 

Download course content

 

 

Control Structure

Topics 

  • Decision control structures (if, else, switch) 
  • Repetition control structures (while, do-while, for) 
  • Branching statements (break, continue, return)

 

Download course content

 

Command-line arguments

Topics 

  • How to pass Command-line arguments 
  • How to pass Command-line arguments in NetBeans? 
  • How to pass Command-line arguments in Eclipse?

 

Download course content

 

Java Arrays

Topics

  • What is an array?
  • Declaration of an array type variable 
  • Instantiation of an array object 
  • Accessing array element within an array object 
  • Array length 
  • Multi-dimensional array

 

Download course content

 

Working with built-in Java classes Part I

Topics 

  • Brief introduction on Object-Oriented Programming (OOP) 
  • Classes and objects 
  • Creation of Object instances using “new” keyword 
  • Methods: Instance methods vs. Static methods 
  • Variables (fields, properties) 
  • Scope of a variable

 

Download course content