DEV Community

Cover image for DAY 2 -JAVA
sabari vasan
sabari vasan

Posted on

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");
    }
    }
Enter fullscreen mode Exit fullscreen mode

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

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay