0% found this document useful (0 votes)
22 views

Java Code

Uploaded by

nagendra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Java Code

Uploaded by

nagendra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

[12:27 PM] Sandhya Singh

public class Hello1 {

public static void main(String[] args) {


// TODO Auto-generated method stub
String name ="John";
char alph ='A';
int numFirst = 5;
int numSecond = 6;
int Result = numFirst + numSecond;
System.out.println("Name: "+ name);
System.out.println("Alphabet: "+ alph);
System.out.println("numFirst: "+ numFirst);
System.out.println("numSecond: "+ numSecond);
System.out.println("============================");
System.out.println("Result : "+ Result);

}
}

You might also like