You are here:   HomeJava ProgrammingClasses in JavaPass by Value and Pass by Reference in Java Example
by Dinesh Thakur Category: Classes

 

 

import java. util. *;
class InputDemo
{
public static void main(String args[])
{
String l;
Scanner s=new Scanner(System.in);
System.out.println("Enter the string");
l=s.next( );
String res=l.toLowerCase( );
System. out. println( res);
}}


What's New and Popular