0% found this document useful (0 votes)
15 views25 pages

Java Exercises 1-80 Overview

The document contains a series of Java programming exercises, numbered from 1 to 80, with each exercise featuring a basic Java class structure and a main method. Some exercises include specific logic, such as printing the sum of two integers or performing a division, while others are placeholders with no implemented logic. Screenshots of the output from a coding environment are referenced but not included.

Uploaded by

hridoy116067
Copyright
© All Rights Reserved
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% found this document useful (0 votes)
15 views25 pages

Java Exercises 1-80 Overview

The document contains a series of Java programming exercises, numbered from 1 to 80, with each exercise featuring a basic Java class structure and a main method. Some exercises include specific logic, such as printing the sum of two integers or performing a division, while others are placeholders with no implemented logic. Screenshots of the output from a coding environment are referenced but not included.

Uploaded by

hridoy116067
Copyright
© All Rights Reserved
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

Java Basic Exercises (1 - 80)

Exercise 1
public class Exercise1 {
public static void main(String[] args) {
[Link]("Hello
World");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 2
public class Exercise2 {
public static void main(String[] args) {
int a = 74;
int b = 36;
[Link](a + b);
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 3
public class Exercise3 {
public static void main(String[] args) {
int a = 50;
int b = 3;
[Link](a / b);
}
}

📷 Screenshot (VS Code with output): [Insert here]


Exercise 4
public class Exercise4 {
public static void main(String[] args) {
// Placeholder logic for Exercise 4
[Link]("This is the output for Exercise 4");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 5
public class Exercise5 {
public static void main(String[] args) {
// Placeholder logic for Exercise 5
[Link]("This is the output for Exercise 5");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 6
public class Exercise6 {
public static void main(String[] args) {
// Placeholder logic for Exercise 6
[Link]("This is the output for Exercise 6");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 7
public class Exercise7 {
public static void main(String[] args) {
// Placeholder logic for Exercise 7
[Link]("This is the output for Exercise 7");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 8
public class Exercise8 {
public static void main(String[] args) {
// Placeholder logic for Exercise 8
[Link]("This is the output for Exercise 8");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 9
public class Exercise9 {
public static void main(String[] args) {
// Placeholder logic for Exercise 9
[Link]("This is the output for Exercise 9");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 10
public class Exercise10 {
public static void main(String[] args) {
// Placeholder logic for Exercise 10
[Link]("This is the output for Exercise 10");
}
}
📷 Screenshot (VS Code with output): [Insert here]

Exercise 11
public class Exercise11 {
public static void main(String[] args) {
// Placeholder logic for Exercise 11
[Link]("This is the output for Exercise 11");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 12
public class Exercise12 {
public static void main(String[] args) {
// Placeholder logic for Exercise 12
[Link]("This is the output for Exercise 12");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 13
public class Exercise13 {
public static void main(String[] args) {
// Placeholder logic for Exercise 13
[Link]("This is the output for Exercise 13");
}
}

📷 Screenshot (VS Code with output): [Insert here]


Exercise 14
public class Exercise14 {
public static void main(String[] args) {
// Placeholder logic for Exercise 14
[Link]("This is the output for Exercise 14");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 15
public class Exercise15 {
public static void main(String[] args) {
// Placeholder logic for Exercise 15
[Link]("This is the output for Exercise 15");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 16
public class Exercise16 {
public static void main(String[] args) {
// Placeholder logic for Exercise 16
[Link]("This is the output for Exercise 16");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 17
public class Exercise17 {
public static void main(String[] args) {
// Placeholder logic for Exercise 17
[Link]("This is the output for Exercise 17");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 18
public class Exercise18 {
public static void main(String[] args) {
// Placeholder logic for Exercise 18
[Link]("This is the output for Exercise 18");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 19
public class Exercise19 {
public static void main(String[] args) {
// Placeholder logic for Exercise 19
[Link]("This is the output for Exercise 19");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 20
public class Exercise20 {
public static void main(String[] args) {
// Placeholder logic for Exercise 20
[Link]("This is the output for Exercise 20");
}
}
📷 Screenshot (VS Code with output): [Insert here]

Exercise 21
public class Exercise21 {
public static void main(String[] args) {
// Placeholder logic for Exercise 21
[Link]("This is the output for Exercise 21");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 22
public class Exercise22 {
public static void main(String[] args) {
// Placeholder logic for Exercise 22
[Link]("This is the output for Exercise 22");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 23
public class Exercise23 {
public static void main(String[] args) {
// Placeholder logic for Exercise 23
[Link]("This is the output for Exercise 23");
}
}

📷 Screenshot (VS Code with output): [Insert here]


Exercise 24
public class Exercise24 {
public static void main(String[] args) {
// Placeholder logic for Exercise 24
[Link]("This is the output for Exercise 24");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 25
public class Exercise25 {
public static void main(String[] args) {
// Placeholder logic for Exercise 25
[Link]("This is the output for Exercise 25");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 26
public class Exercise26 {
public static void main(String[] args) {
// Placeholder logic for Exercise 26
[Link]("This is the output for Exercise 26");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 27
public class Exercise27 {
public static void main(String[] args) {
// Placeholder logic for Exercise 27
[Link]("This is the output for Exercise 27");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 28
public class Exercise28 {
public static void main(String[] args) {
// Placeholder logic for Exercise 28
[Link]("This is the output for Exercise 28");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 29
public class Exercise29 {
public static void main(String[] args) {
// Placeholder logic for Exercise 29
[Link]("This is the output for Exercise 29");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 30
public class Exercise30 {
public static void main(String[] args) {
// Placeholder logic for Exercise 30
[Link]("This is the output for Exercise 30");
}
}
📷 Screenshot (VS Code with output): [Insert here]

Exercise 31
public class Exercise31 {
public static void main(String[] args) {
// Placeholder logic for Exercise 31
[Link]("This is the output for Exercise 31");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 32
public class Exercise32 {
public static void main(String[] args) {
// Placeholder logic for Exercise 32
[Link]("This is the output for Exercise 32");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 33
public class Exercise33 {
public static void main(String[] args) {
// Placeholder logic for Exercise 33
[Link]("This is the output for Exercise 33");
}
}

📷 Screenshot (VS Code with output): [Insert here]


Exercise 34
public class Exercise34 {
public static void main(String[] args) {
// Placeholder logic for Exercise 34
[Link]("This is the output for Exercise 34");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 35
public class Exercise35 {
public static void main(String[] args) {
// Placeholder logic for Exercise 35
[Link]("This is the output for Exercise 35");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 36
public class Exercise36 {
public static void main(String[] args) {
// Placeholder logic for Exercise 36
[Link]("This is the output for Exercise 36");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 37
public class Exercise37 {
public static void main(String[] args) {
// Placeholder logic for Exercise 37
[Link]("This is the output for Exercise 37");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 38
public class Exercise38 {
public static void main(String[] args) {
// Placeholder logic for Exercise 38
[Link]("This is the output for Exercise 38");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 39
public class Exercise39 {
public static void main(String[] args) {
// Placeholder logic for Exercise 39
[Link]("This is the output for Exercise 39");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 40
public class Exercise40 {
public static void main(String[] args) {
// Placeholder logic for Exercise 40
[Link]("This is the output for Exercise 40");
}
}
📷 Screenshot (VS Code with output): [Insert here]

Exercise 41
public class Exercise41 {
public static void main(String[] args) {
// Placeholder logic for Exercise 41
[Link]("This is the output for Exercise 41");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 42
public class Exercise42 {
public static void main(String[] args) {
// Placeholder logic for Exercise 42
[Link]("This is the output for Exercise 42");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 43
public class Exercise43 {
public static void main(String[] args) {
// Placeholder logic for Exercise 43
[Link]("This is the output for Exercise 43");
}
}

📷 Screenshot (VS Code with output): [Insert here]


Exercise 44
public class Exercise44 {
public static void main(String[] args) {
// Placeholder logic for Exercise 44
[Link]("This is the output for Exercise 44");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 45
public class Exercise45 {
public static void main(String[] args) {
// Placeholder logic for Exercise 45
[Link]("This is the output for Exercise 45");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 46
public class Exercise46 {
public static void main(String[] args) {
// Placeholder logic for Exercise 46
[Link]("This is the output for Exercise 46");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 47
public class Exercise47 {
public static void main(String[] args) {
// Placeholder logic for Exercise 47
[Link]("This is the output for Exercise 47");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 48
public class Exercise48 {
public static void main(String[] args) {
// Placeholder logic for Exercise 48
[Link]("This is the output for Exercise 48");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 49
public class Exercise49 {
public static void main(String[] args) {
// Placeholder logic for Exercise 49
[Link]("This is the output for Exercise 49");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 50
public class Exercise50 {
public static void main(String[] args) {
// Placeholder logic for Exercise 50
[Link]("This is the output for Exercise 50");
}
}
📷 Screenshot (VS Code with output): [Insert here]

Exercise 51
public class Exercise51 {
public static void main(String[] args) {
// Placeholder logic for Exercise 51
[Link]("This is the output for Exercise 51");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 52
public class Exercise52 {
public static void main(String[] args) {
// Placeholder logic for Exercise 52
[Link]("This is the output for Exercise 52");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 53
public class Exercise53 {
public static void main(String[] args) {
// Placeholder logic for Exercise 53
[Link]("This is the output for Exercise 53");
}
}

📷 Screenshot (VS Code with output): [Insert here]


Exercise 54
public class Exercise54 {
public static void main(String[] args) {
// Placeholder logic for Exercise 54
[Link]("This is the output for Exercise 54");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 55
public class Exercise55 {
public static void main(String[] args) {
// Placeholder logic for Exercise 55
[Link]("This is the output for Exercise 55");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 56
public class Exercise56 {
public static void main(String[] args) {
// Placeholder logic for Exercise 56
[Link]("This is the output for Exercise 56");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 57
public class Exercise57 {
public static void main(String[] args) {
// Placeholder logic for Exercise 57
[Link]("This is the output for Exercise 57");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 58
public class Exercise58 {
public static void main(String[] args) {
// Placeholder logic for Exercise 58
[Link]("This is the output for Exercise 58");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 59
public class Exercise59 {
public static void main(String[] args) {
// Placeholder logic for Exercise 59
[Link]("This is the output for Exercise 59");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 60
public class Exercise60 {
public static void main(String[] args) {
// Placeholder logic for Exercise 60
[Link]("This is the output for Exercise 60");
}
}
📷 Screenshot (VS Code with output): [Insert here]

Exercise 61
public class Exercise61 {
public static void main(String[] args) {
// Placeholder logic for Exercise 61
[Link]("This is the output for Exercise 61");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 62
public class Exercise62 {
public static void main(String[] args) {
// Placeholder logic for Exercise 62
[Link]("This is the output for Exercise 62");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 63
public class Exercise63 {
public static void main(String[] args) {
// Placeholder logic for Exercise 63
[Link]("This is the output for Exercise 63");
}
}

📷 Screenshot (VS Code with output): [Insert here]


Exercise 64
public class Exercise64 {
public static void main(String[] args) {
// Placeholder logic for Exercise 64
[Link]("This is the output for Exercise 64");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 65
public class Exercise65 {
public static void main(String[] args) {
// Placeholder logic for Exercise 65
[Link]("This is the output for Exercise 65");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 66
public class Exercise66 {
public static void main(String[] args) {
// Placeholder logic for Exercise 66
[Link]("This is the output for Exercise 66");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 67
public class Exercise67 {
public static void main(String[] args) {
// Placeholder logic for Exercise 67
[Link]("This is the output for Exercise 67");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 68
public class Exercise68 {
public static void main(String[] args) {
// Placeholder logic for Exercise 68
[Link]("This is the output for Exercise 68");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 69
public class Exercise69 {
public static void main(String[] args) {
// Placeholder logic for Exercise 69
[Link]("This is the output for Exercise 69");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 70
public class Exercise70 {
public static void main(String[] args) {
// Placeholder logic for Exercise 70
[Link]("This is the output for Exercise 70");
}
}
📷 Screenshot (VS Code with output): [Insert here]

Exercise 71
public class Exercise71 {
public static void main(String[] args) {
// Placeholder logic for Exercise 71
[Link]("This is the output for Exercise 71");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 72
public class Exercise72 {
public static void main(String[] args) {
// Placeholder logic for Exercise 72
[Link]("This is the output for Exercise 72");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 73
public class Exercise73 {
public static void main(String[] args) {
// Placeholder logic for Exercise 73
[Link]("This is the output for Exercise 73");
}
}

📷 Screenshot (VS Code with output): [Insert here]


Exercise 74
public class Exercise74 {
public static void main(String[] args) {
// Placeholder logic for Exercise 74
[Link]("This is the output for Exercise 74");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 75
public class Exercise75 {
public static void main(String[] args) {
// Placeholder logic for Exercise 75
[Link]("This is the output for Exercise 75");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 76
public class Exercise76 {
public static void main(String[] args) {
// Placeholder logic for Exercise 76
[Link]("This is the output for Exercise 76");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 77
public class Exercise77 {
public static void main(String[] args) {
// Placeholder logic for Exercise 77
[Link]("This is the output for Exercise 77");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 78
public class Exercise78 {
public static void main(String[] args) {
// Placeholder logic for Exercise 78
[Link]("This is the output for Exercise 78");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 79
public class Exercise79 {
public static void main(String[] args) {
// Placeholder logic for Exercise 79
[Link]("This is the output for Exercise 79");
}
}

📷 Screenshot (VS Code with output): [Insert here]

Exercise 80
public class Exercise80 {
public static void main(String[] args) {
// Placeholder logic for Exercise 80
[Link]("This is the output for Exercise 80");
}
}
📷 Screenshot (VS Code with output): [Insert here]

You might also like