Skip to content

Adding Sarvottam.java File #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sarvottam7061
Copy link

No description provided.


import java.util.regex.*;

class Sarvottam

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improper Indentation

String temp=t;
Scanner sc=new Scanner(System.in);
int i;
String a[]=new String[100];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid static allocation. instead use "new String[n]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants