0% found this document useful (0 votes)
2 views1 page

Java First Practical

The document provides a simple Java program that prints a welcome message and a statement about scoring full marks. It includes notes on Java syntax, file naming conventions, and steps to perform Java practicals in a Linux environment. Key instructions include compiling the program and checking for errors before executing it.

Uploaded by

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

Java First Practical

The document provides a simple Java program that prints a welcome message and a statement about scoring full marks. It includes notes on Java syntax, file naming conventions, and steps to perform Java practicals in a Linux environment. Key instructions include compiling the program and checking for errors before executing it.

Uploaded by

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

public class firstprg21

{
public static void main(String a[])
{
[Link]("Welcome to java Programming");
[Link]("will like to score full marks");
}
}
/*

Note :
1. Java is case sensitive
[Link],psvm(S a[]), Sop- full forms
3. The line followed by { -that line doesnot have ;
[Link] end with ;
5. Name of the file is same as classname which contains main method
6. Extension of java file is .java
7. To highlight the/goto line of error- double click the pink font
8. After correction always save the file.

Step to perform Java Practical


1. open scite in Linux os
2. type the program
3. save the file
4. compile the program
Tools --> Compile Ctrl + F7
5. If Exit code is not zero means errors are there solve them and save file
[Link] exit code is zero
T00ls-->Go F5
to see the output
*/

You might also like