this is my java manual for beginners who want to learn




import java.util.*;

public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
System.out.println("hi");
String name = "fire";
/*the name fire is the name of the output now
there are currently one comments in this file
/
int numComments = 1;
System.out.println(numComments);
double numberOfPoints = 100;
/
The maximum value for a double variable is 1.797,693,134,862,315,7 E+308
*/
System.out.println(numberOfPoints);
/*The char data type can hold any character, like a letter, space, or
punctuation mark.
*/
char expectedGrade = 'A';
System.out.println(expectedGrade);
/*the sring then variable can also have a value of not numbers but words e.g.
*/
String openingLyrics = "hi, hi, hi, hi";
System.out.println(openingLyrics);
/*you can also add a double time for a print to happen
*/
double runtime = 1.80;
/*you can add a string name and a user name
*/
String nameOfUser = "fireflame067";
System.out.println(nameOfUser);
/int, which stores whole numbers.
double, which stores bigger whole numbers and decimal numbers.
boolean, which stores true and false.
char, which stores single characters using single quotes.
String, which stores multiple characters using double quotes.
these are all data storage codes to store extra data
/

  import javax.swing.*;  

class TextFieldExample
{
public static void main(String args[])
{
JFrame f= new JFrame("TextField Example");
JTextField t1,t2;
t1=new JTextField("Welcome to Javatpoint.");
t1.setBounds(50,100, 200,30);
t2=new JTextField("AWT Tutorial");
t2.setBounds(50,150, 200,30);
f.add(t1); f.add(t2);
f.setSize(400,400);
f.setLayout(null);
f.setVisible(true);
}

}
}