Tuesday, 10 April 2018

Parameter

 

  • There are two types of parameter .
  •  Passing Parameter
  • . Returning Methods

Example:-
public class MyClass
{
public static void main(string[] args)
{
CastorClass(“Online”)
public static void CastorClass(string name)
{
System.out.println(“Online Class” +name); //This is a passing parameter .
}
}

1 comment:

Popular Posts

Categories

Android (21) AngularJS (1) Books (3) C (75) C++ (81) Data Strucures (4) Engineering (13) FPL (17) HTML&CSS (38) IS (25) Java (85) PHP (20) Python (83) R (68) Selenium Webdriver (2) Software (13) SQL (27)