Professional Documents
Culture Documents
package com.java.array;
import java.util.*;
public class BasicArray {
public static void main(String[] args) {
int[] age = new int[50];
Scanner sc = new Scanner(System.in);
System.out.println("Enter no values");
int x = sc.nextInt();
System.out.println("values are");
age[i]=sc.nextInt();
}
for(int i=0;i < x;i++) {
System.out.println(age[i]);
}
}
/*
i=0;i<age.length;i++
package com.java.array;
import java.util.*;
public class BasicArray {
public static void main(String[] args) {
int[] age = new int[50];
Scanner sc = new Scanner(System.in);
System.out.println("Enter no values");
int x = sc.nextInt();
System.out.println("values are");
age[i]=sc.nextInt();
}
for(int i=0;i < x;i++) {
System.out.println(age[i]);
}
}
}
/*
i=0;i<age.length;i++
package com.java.array;
import java.util.*;
public class BasicArray {
public static void main(String[] args) {
int[] age = new int[50];
Scanner sc = new Scanner(System.in);
System.out.println("Enter no values");
int x = sc.nextInt();
System.out.println("values are");
age[i]=sc.nextInt();
}
for(int i=0;i < x;i++) {
System.out.println(age[i]);
}
}
/*
i=0;i<age.length;i++
package Exceptionhandling;
}package Exceptionhandling;
package Exceptionhandling;
import java.io.*;
class M{
void method()throws IOException{
System.out.println("Hi");
throw new IOException("device error");
}
}
public class Testthrows2{
public static void main(String args[]){
try{
M m=new M();
m.method();
}catch(Exception e)
{
System.out.println(e);
System.out.println("exception handled");}
System.out.println("normal flow...");
}
}
ebox:
package Exceptionhandling;
import java.util.*;
Introduction
[
(reason of writing the email)
I assure you that the project will be completed by 7th March 2022.
I sincerely apologise for the delay in the development of the application. The
project completion is delayed due to unexpected circumstances.
I assure you that the project will be completed by 7th March 2022.
Please do not hesitate to get in touch with me in case you have any further
questions.