From 181e42a8b829d2e3e05a42ad5718d3bf26766f86 Mon Sep 17 00:00:00 2001 From: Hitesh Kumar Sharma Date: Wed, 14 Sep 2022 10:20:12 +0530 Subject: [PATCH] My Java Project --- .classpath | 6 ++++++ .gitignore | 1 + .project | 17 +++++++++++++++++ .settings/org.eclipse.jdt.core.prefs | 11 +++++++++++ src/pkg1/Hitesh_Class.java | 7 +++++++ src/pkg1/MasterClass.java | 7 +++++++ 6 files changed, 49 insertions(+) create mode 100644 .classpath create mode 100644 .gitignore create mode 100644 .project create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 src/pkg1/Hitesh_Class.java create mode 100644 src/pkg1/MasterClass.java diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..fb565a5 --- /dev/null +++ b/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e56e04 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/bin diff --git a/.project b/.project new file mode 100644 index 0000000..ca607b3 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + DO_2021-25 + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..7341ab1 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/src/pkg1/Hitesh_Class.java b/src/pkg1/Hitesh_Class.java new file mode 100644 index 0000000..cade771 --- /dev/null +++ b/src/pkg1/Hitesh_Class.java @@ -0,0 +1,7 @@ +package pkg1; +public class Hitesh_Class { + public void sayHello() + { + System.out.println("Hello DevOps 2021-25 Batch"); + } +} diff --git a/src/pkg1/MasterClass.java b/src/pkg1/MasterClass.java new file mode 100644 index 0000000..dab2667 --- /dev/null +++ b/src/pkg1/MasterClass.java @@ -0,0 +1,7 @@ +package pkg1; +public class MasterClass { + public static void main(String[] args) { + Hitesh_Class hks = new Hitesh_Class(); + hks.sayHello(); + } +}