SlideShare a Scribd company logo
1 of 1
Download to read offline
EmployeeTest.java
import java.util.Scanner;
public class EmployeeTest {
public static void main(String[] args) {
Employee emp[] = new Employee[2];
Scanner scan = new Scanner(System.in);
for(int i=0; i
Solution
EmployeeTest.java
import java.util.Scanner;
public class EmployeeTest {
public static void main(String[] args) {
Employee emp[] = new Employee[2];
Scanner scan = new Scanner(System.in);
for(int i=0; i

More Related Content

More from aptcomputerzone

26. DNA molecule contains deoxyribose and is double stranded.27. B.pdf
26. DNA molecule contains deoxyribose and is double stranded.27. B.pdf26. DNA molecule contains deoxyribose and is double stranded.27. B.pdf
26. DNA molecule contains deoxyribose and is double stranded.27. B.pdf
aptcomputerzone
 
(A) Current Ratio = Current AssetsCurrent LiabilitiesCurrent Asse.pdf
(A) Current Ratio = Current AssetsCurrent LiabilitiesCurrent Asse.pdf(A) Current Ratio = Current AssetsCurrent LiabilitiesCurrent Asse.pdf
(A) Current Ratio = Current AssetsCurrent LiabilitiesCurrent Asse.pdf
aptcomputerzone
 
1. what is the central dogma of geneticsans Central dogma of gen.pdf
1. what is the central dogma of geneticsans Central dogma of gen.pdf1. what is the central dogma of geneticsans Central dogma of gen.pdf
1. what is the central dogma of geneticsans Central dogma of gen.pdf
aptcomputerzone
 
A group of isotopes representing various stages of radioactive decay.pdf
  A group of isotopes representing various stages of radioactive decay.pdf  A group of isotopes representing various stages of radioactive decay.pdf
A group of isotopes representing various stages of radioactive decay.pdf
aptcomputerzone
 
n should be 5 here Calcium sulfate (or calcium su.pdf
                     n should be 5 here Calcium sulfate (or calcium su.pdf                     n should be 5 here Calcium sulfate (or calcium su.pdf
n should be 5 here Calcium sulfate (or calcium su.pdf
aptcomputerzone
 
How many ml of .20 M NaOh are required to neutral.pdf
                     How many ml of .20 M NaOh are required to neutral.pdf                     How many ml of .20 M NaOh are required to neutral.pdf
How many ml of .20 M NaOh are required to neutral.pdf
aptcomputerzone
 
Why does one would like all of this social control stuff the most g.pdf
Why does one would like all of this social control stuff the most g.pdfWhy does one would like all of this social control stuff the most g.pdf
Why does one would like all of this social control stuff the most g.pdf
aptcomputerzone
 
The race industry and its elite enablers take it as self-evident tha.pdf
The race industry and its elite enablers take it as self-evident tha.pdfThe race industry and its elite enablers take it as self-evident tha.pdf
The race industry and its elite enablers take it as self-evident tha.pdf
aptcomputerzone
 
the resting membrane potential for most animal cells is negative, be.pdf
the resting membrane potential for most animal cells is negative, be.pdfthe resting membrane potential for most animal cells is negative, be.pdf
the resting membrane potential for most animal cells is negative, be.pdf
aptcomputerzone
 
Stiction or adhesion between the substrate (usually silicon based) a.pdf
Stiction or adhesion between the substrate (usually silicon based) a.pdfStiction or adhesion between the substrate (usually silicon based) a.pdf
Stiction or adhesion between the substrate (usually silicon based) a.pdf
aptcomputerzone
 
Q1) Create a frequency table for each of the following variables..pdf
Q1) Create a frequency table for each of the following variables..pdfQ1) Create a frequency table for each of the following variables..pdf
Q1) Create a frequency table for each of the following variables..pdf
aptcomputerzone
 

More from aptcomputerzone (20)

26. DNA molecule contains deoxyribose and is double stranded.27. B.pdf
26. DNA molecule contains deoxyribose and is double stranded.27. B.pdf26. DNA molecule contains deoxyribose and is double stranded.27. B.pdf
26. DNA molecule contains deoxyribose and is double stranded.27. B.pdf
 
(A) Current Ratio = Current AssetsCurrent LiabilitiesCurrent Asse.pdf
(A) Current Ratio = Current AssetsCurrent LiabilitiesCurrent Asse.pdf(A) Current Ratio = Current AssetsCurrent LiabilitiesCurrent Asse.pdf
(A) Current Ratio = Current AssetsCurrent LiabilitiesCurrent Asse.pdf
 
1. what is the central dogma of geneticsans Central dogma of gen.pdf
1. what is the central dogma of geneticsans Central dogma of gen.pdf1. what is the central dogma of geneticsans Central dogma of gen.pdf
1. what is the central dogma of geneticsans Central dogma of gen.pdf
 
Phosphorous reacts readily with hydrogen to form hydrides; with halo.pdf
  Phosphorous reacts readily with hydrogen to form hydrides; with halo.pdf  Phosphorous reacts readily with hydrogen to form hydrides; with halo.pdf
Phosphorous reacts readily with hydrogen to form hydrides; with halo.pdf
 
A group of isotopes representing various stages of radioactive decay.pdf
  A group of isotopes representing various stages of radioactive decay.pdf  A group of isotopes representing various stages of radioactive decay.pdf
A group of isotopes representing various stages of radioactive decay.pdf
 
n should be 5 here Calcium sulfate (or calcium su.pdf
                     n should be 5 here Calcium sulfate (or calcium su.pdf                     n should be 5 here Calcium sulfate (or calcium su.pdf
n should be 5 here Calcium sulfate (or calcium su.pdf
 
Molarity = moles Litres of solution. Work out .pdf
                     Molarity = moles  Litres of solution.  Work out .pdf                     Molarity = moles  Litres of solution.  Work out .pdf
Molarity = moles Litres of solution. Work out .pdf
 
How many ml of .20 M NaOh are required to neutral.pdf
                     How many ml of .20 M NaOh are required to neutral.pdf                     How many ml of .20 M NaOh are required to neutral.pdf
How many ml of .20 M NaOh are required to neutral.pdf
 
It looks like you have two molecules there. CH3C.pdf
                     It looks like you have two molecules there.  CH3C.pdf                     It looks like you have two molecules there.  CH3C.pdf
It looks like you have two molecules there. CH3C.pdf
 
In H3O+ ion there are four electronpairs on the v.pdf
                     In H3O+ ion there are four electronpairs on the v.pdf                     In H3O+ ion there are four electronpairs on the v.pdf
In H3O+ ion there are four electronpairs on the v.pdf
 
     According to periodic properties Theatomic radius is increases .pdf
     According to periodic properties Theatomic radius is increases .pdf     According to periodic properties Theatomic radius is increases .pdf
     According to periodic properties Theatomic radius is increases .pdf
 
Why does one would like all of this social control stuff the most g.pdf
Why does one would like all of this social control stuff the most g.pdfWhy does one would like all of this social control stuff the most g.pdf
Why does one would like all of this social control stuff the most g.pdf
 
We know that absorbance , A = log ( Io It ) Where Io = intensity.pdf
We know that absorbance , A = log ( Io  It ) Where Io = intensity.pdfWe know that absorbance , A = log ( Io  It ) Where Io = intensity.pdf
We know that absorbance , A = log ( Io It ) Where Io = intensity.pdf
 
(19)D. All of the choices are correct.Explanation enzymes. ; fl.pdf
(19)D. All of the choices are correct.Explanation enzymes. ; fl.pdf(19)D. All of the choices are correct.Explanation enzymes. ; fl.pdf
(19)D. All of the choices are correct.Explanation enzymes. ; fl.pdf
 
The race industry and its elite enablers take it as self-evident tha.pdf
The race industry and its elite enablers take it as self-evident tha.pdfThe race industry and its elite enablers take it as self-evident tha.pdf
The race industry and its elite enablers take it as self-evident tha.pdf
 
the resting membrane potential for most animal cells is negative, be.pdf
the resting membrane potential for most animal cells is negative, be.pdfthe resting membrane potential for most animal cells is negative, be.pdf
the resting membrane potential for most animal cells is negative, be.pdf
 
The given buffer is KH2PO4 Na2HPO4Acidic component of the buffer .pdf
The given buffer is KH2PO4 Na2HPO4Acidic component of the buffer .pdfThe given buffer is KH2PO4 Na2HPO4Acidic component of the buffer .pdf
The given buffer is KH2PO4 Na2HPO4Acidic component of the buffer .pdf
 
Stiction or adhesion between the substrate (usually silicon based) a.pdf
Stiction or adhesion between the substrate (usually silicon based) a.pdfStiction or adhesion between the substrate (usually silicon based) a.pdf
Stiction or adhesion between the substrate (usually silicon based) a.pdf
 
Marsh Corporation Income Statement For the year ende.pdf
    Marsh Corporation        Income Statement        For the year ende.pdf    Marsh Corporation        Income Statement        For the year ende.pdf
Marsh Corporation Income Statement For the year ende.pdf
 
Q1) Create a frequency table for each of the following variables..pdf
Q1) Create a frequency table for each of the following variables..pdfQ1) Create a frequency table for each of the following variables..pdf
Q1) Create a frequency table for each of the following variables..pdf
 

Recently uploaded

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

EmployeeTest.java import java.util.Scanner;public class Employ.pdf

  • 1. EmployeeTest.java import java.util.Scanner; public class EmployeeTest { public static void main(String[] args) { Employee emp[] = new Employee[2]; Scanner scan = new Scanner(System.in); for(int i=0; i Solution EmployeeTest.java import java.util.Scanner; public class EmployeeTest { public static void main(String[] args) { Employee emp[] = new Employee[2]; Scanner scan = new Scanner(System.in); for(int i=0; i