The document provides a comprehensive guide to Java programming, covering installation of the JDK, running programs via command prompt, and various Java programming concepts. It includes step-by-step instructions for setting up the environment and writing basic Java applications. The content is structured into sections that progressively introduce programming techniques and concepts in Java.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views
java lab
The document provides a comprehensive guide to Java programming, covering installation of the JDK, running programs via command prompt, and various Java programming concepts. It includes step-by-step instructions for setting up the environment and writing basic Java applications. The content is structured into sections that progressively introduce programming techniques and concepts in Java.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
TABLE OF CONTENTS PAGE-NO
o Understanding to basic programming concept……………..1
o Installing JDK in computer………………………………...2 o Running program in command prompt…………………….3 o Learning some basic java program……………………..….4 o WAP using scanner class……………………………..……5 o WAP using OOP features……………………………….…6 o WAP using java comments…………………………...……7 o WAP using java operator……………………………..……8 o WAP using constructor………………………………...…..9 o WAP using control statement……………………………..10 o WAP using Array concept……………………………..….11 o WAP using String concept………………………..………12 o WAP using java applet………………………………..…..13 CONCLUSION INTRODUCTION TO JAVA PROGRAMMING The java programming language was developed by son microsystem. Java is a simple efficient, general purpose language. Java was originally designed for imbedded network application running on multiple platform. It is a portable, object oriented, interpreted language. Java is extremely portable object- oriented programming language. DAY-1 1) How to install JDK in computer STEP-1:- Download the JDK installer from the Java SE downloads section on the Oracle website. Choose the x64 installer for Windows. STEP-2:- Run the JDK installer file and follow the instructions. You can use the JDK.exe installer or the MSI Enterprise installer. You can also run the installer silently from the command line. STEP-3:- Choose the location of your file and accept the license agreement. STEP-4:- Check the directory where the JDK is installed and update the environment variables accordingly. STEP-4:- Verify the Java installation by running the java -version command.
DAY-2
2) Running program in command prompt
Write Your Java Program. Save Your Java Program. Open the Command Prompt. Navigate to the Program Directory. Compile the Java Program. Run the Java Program. DAY-3 Date:- 2080/04/16 A. WAP in java to print Hello world.