Methods in Java Programming Language With Example

In this video tutorial you will learn the concept of methods in java programming language,  how to create and use methods, what is the use of them, where methods can be used in detail with example.

Source code for this video tutorial


package learningJava;

public class Anil {

 public static void main(String[] args) {
  
  System.out.println("in main method");
  display();
  display();
  display();

 }

 public static void display(){
  System.out.println("Welcome to LearningLad");
  System.out.println("Source of free video tutorials on computer programming");
 }
}

Back To Top