It is a free and open source high level programming language,simple as well as object oriented language. Read more
Foss : Java - English
Outline: Getting started with Java Installation
* Install jdk from Synaptic Package Manager
* Choose openjdk-6-jdk from the list of packages available
* Mark it for installation
Outline: Java - First Program
*write simple java program
*print “My First Java Program!” on Console
*save the file
*file name given to the java file
*compile the file
Outline: Installing Eclipse
*Install Eclipse on Ubuntu on the Terminal
*Set up the proxy on the Terminal
*Then fetch the list of all the available softwares
*Type sudo apt-get up..
Outline: Getting started with Eclipse
*Eclipse is an Integrated Development Environment
*It is a tool on which one can write, debug and run java programs easily
*Open Dash Home and ..
Outline: HelloWorld in Java using Eclipse
*Create a Java Project named DemoProject
*Create a class named DemoClass
*Class name and file name will be the same
Outline: Errors and Debugging
*When writing a Java Program, here is a list of typical errors:
*Missing double quotes(".")
*Mis-match of filename and classnam..
Outline: Programming features of Eclipse
*Sets the corresponding closing brace when we open the brace
*Provides a drop-down list of methods when you start typing th..
Outline: Arithmetic Operations
*Define an operator
*Define arithmetic operators
*Simple program to demonstrate ari..
Outline: Numerical datatypes
*define datatypes and numerical datatypes
*range of each numerical datatypes
*declaration and initial..
*letter,digit,punctuation marks, tab, or space are all characters
*Program explaining the variable and the character data
*Introduction to strings
Outline: Creating Class
*Whatever we can see in this world are all objects
*Objects can be categorized into groups known as class
*This is class in real world
*Human Being is an e..
Outline: Creating Object
*An object is an instance of a class
*Each object consist of state and behavior
*Object stores it state in fields or variables
*It exposes its behavior th..
Outline: Instance fields
*Also known as non-static fields
*Open the TestStudent class which we have created
*Access the fields roll_number and name using dot operator
*See the out..
* write simple method
* method returning value
* call a method in another method
* flow of the program
* call a static method
Outline: Default Constructor
*what is a constructor?
*what is a default constructor?
*when is it called?
*define a constructor
*initialize the variables
*call the constructor
Outline: Parameterized Constructor
*What is a parameterized constructor?
*create constructor without parameter
*create a constructor with parameter
*assign values to the variables..
Outline: Using this keyword
*this is a reference to the current object
*helps to avoid name conflicts
*we can use this keyword inside a constructor to call another one
Any code written between two curly brackets
Executed for each object that is created
Executes before constructor's execution
Outline: Constructor overloading
*define multiple constructor
* what is constructor overloading?
*constructor with different number of parameters.
*parameters with different datat..
Outline: Method overloading
*define multiple methods.
*methods with same name.
*methods with different number of parameters.
*methods with different datatypes of parameter.
Click here to view stats
Spoken Tutorial by IIT Bombay is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where stated otherwise Based on a work at https://spoken-tutorial.org. Permissions beyond the scope of this license may be available at https://spoken-tutorial.org.