DAY 2 -JAVA

WHAT IS A JOR FILE? A JAR file allows Java runtimes to efficiently deploy an entire application, including its classes and their associated resources, in a single request. WHAT IS CLASS? Class is an group of object,but we called as blueprint or template. PROGRAM: public class Sports { public static void main(String[] args) { System.out.println("welcome to sports meet"); } } In above the program today i get the some error: statement error-{"welcome to sports meet) symbol error-(string[] args) OUTPUT: welcome to sports meet OOPS DIAGRAM:

Mar 25, 2025 - 18:21
 0
DAY 2 -JAVA

WHAT IS A JOR FILE?

A JAR file allows Java runtimes to efficiently deploy an entire application, including its classes and their associated resources, in a single request.

WHAT IS CLASS?

Class is an group of object,but we called as blueprint or template.

PROGRAM:

   public class Sports
   {
   public static void main(String[] args)
   {
      System.out.println("welcome to sports meet");
    }
    }

In above the program today i get the some error:

statement error-{"welcome to sports meet)

Image description

symbol error-(string[] args)

Image description

OUTPUT:

welcome to sports meet

Image description

OOPS DIAGRAM:

Image description