SlideShare a Scribd company logo
sol:
An object will allocated statically when that object is needed for entire life time of that program
1)if object needs recusrion and storage of object conservly then it is stored in stack
2)f object needs dynamic storage then it should be allocated in heap
Solution
sol:
An object will allocated statically when that object is needed for entire life time of that program
1)if object needs recusrion and storage of object conservly then it is stored in stack
2)f object needs dynamic storage then it should be allocated in heap

More Related Content

More from rajat630669

What is an example of big data either from your personal experience .pdf
What is an example of big data either from your personal experience .pdfWhat is an example of big data either from your personal experience .pdf
What is an example of big data either from your personal experience .pdf
rajat630669
 
S-Se=S with 3 lone pairs on the first S, 1 lone.pdf
                     S-Se=S with 3 lone pairs on the first S,   1 lone.pdf                     S-Se=S with 3 lone pairs on the first S,   1 lone.pdf
S-Se=S with 3 lone pairs on the first S, 1 lone.pdf
rajat630669
 
The sample program for above series in JAVA will be like belowimpo.pdf
The sample program for above series in JAVA will be like belowimpo.pdfThe sample program for above series in JAVA will be like belowimpo.pdf
The sample program for above series in JAVA will be like belowimpo.pdf
rajat630669
 
The formula for calculating Alveolar ventilation is as followsAlv.pdf
The formula for calculating Alveolar ventilation is as followsAlv.pdfThe formula for calculating Alveolar ventilation is as followsAlv.pdf
The formula for calculating Alveolar ventilation is as followsAlv.pdf
rajat630669
 
D. This element can only have a -2 oxidation stat.pdf
                     D. This element can only have a -2 oxidation stat.pdf                     D. This element can only have a -2 oxidation stat.pdf
D. This element can only have a -2 oxidation stat.pdf
rajat630669
 
P = 12SolutionP = 12.pdf
P = 12SolutionP = 12.pdfP = 12SolutionP = 12.pdf
P = 12SolutionP = 12.pdf
rajat630669
 
carbon moves by A. interstitial diffusion So.pdf
                     carbon moves by A. interstitial diffusion So.pdf                     carbon moves by A. interstitial diffusion So.pdf
carbon moves by A. interstitial diffusion So.pdf
rajat630669
 
NH4Cl = acid NaOH = base They react 11 Leftover = 0.26-0..pdf
NH4Cl = acid NaOH = base They react 11 Leftover = 0.26-0..pdfNH4Cl = acid NaOH = base They react 11 Leftover = 0.26-0..pdf
NH4Cl = acid NaOH = base They react 11 Leftover = 0.26-0..pdf
rajat630669
 
D is the transition represent!! Solution .pdf
                     D is the transition represent!!  Solution    .pdf                     D is the transition represent!!  Solution    .pdf
D is the transition represent!! Solution .pdf
rajat630669
 
CO2 is non polar because C has no lone pairs, so .pdf
                     CO2 is non polar because C has no lone pairs, so .pdf                     CO2 is non polar because C has no lone pairs, so .pdf
CO2 is non polar because C has no lone pairs, so .pdf
rajat630669
 
As more halide ions are added, it loses its color.pdf
                     As more halide ions are added, it loses its color.pdf                     As more halide ions are added, it loses its color.pdf
As more halide ions are added, it loses its color.pdf
rajat630669
 
AppointmentDemo.javaimport java.util.Scanner;    Demonstrat.pdf
AppointmentDemo.javaimport java.util.Scanner;    Demonstrat.pdfAppointmentDemo.javaimport java.util.Scanner;    Demonstrat.pdf
AppointmentDemo.javaimport java.util.Scanner;    Demonstrat.pdf
rajat630669
 
Answer.Ltext0         .local   _ZStL8__ioinit         .comm .pdf
Answer.Ltext0         .local   _ZStL8__ioinit         .comm .pdfAnswer.Ltext0         .local   _ZStL8__ioinit         .comm .pdf
Answer.Ltext0         .local   _ZStL8__ioinit         .comm .pdf
rajat630669
 
d. t -2.718Solutiond. t -2.718.pdf
d. t  -2.718Solutiond. t  -2.718.pdfd. t  -2.718Solutiond. t  -2.718.pdf
d. t -2.718Solutiond. t -2.718.pdf
rajat630669
 
Debt-equity ratio=DebtEQuityHence debt=1.1EquityTotal assets=De.pdf
Debt-equity ratio=DebtEQuityHence debt=1.1EquityTotal assets=De.pdfDebt-equity ratio=DebtEQuityHence debt=1.1EquityTotal assets=De.pdf
Debt-equity ratio=DebtEQuityHence debt=1.1EquityTotal assets=De.pdf
rajat630669
 
Gaseous chemical element, chemical symbol O, atom.pdf
                     Gaseous chemical element, chemical symbol O, atom.pdf                     Gaseous chemical element, chemical symbol O, atom.pdf
Gaseous chemical element, chemical symbol O, atom.pdf
rajat630669
 
B. Remember this - hydroboration attacks alkenes .pdf
                     B. Remember this - hydroboration attacks alkenes .pdf                     B. Remember this - hydroboration attacks alkenes .pdf
B. Remember this - hydroboration attacks alkenes .pdf
rajat630669
 
a). EconomiserAn economiser is a mechanical device which is used a.pdf
a). EconomiserAn economiser is a mechanical device which is used a.pdfa). EconomiserAn economiser is a mechanical device which is used a.pdf
a). EconomiserAn economiser is a mechanical device which is used a.pdf
rajat630669
 
A) As it is shown this disease should be partly autosomal recessive .pdf
A) As it is shown this disease should be partly autosomal recessive .pdfA) As it is shown this disease should be partly autosomal recessive .pdf
A) As it is shown this disease should be partly autosomal recessive .pdf
rajat630669
 
2) 5Solution2) 5.pdf
2) 5Solution2) 5.pdf2) 5Solution2) 5.pdf
2) 5Solution2) 5.pdf
rajat630669
 

More from rajat630669 (20)

What is an example of big data either from your personal experience .pdf
What is an example of big data either from your personal experience .pdfWhat is an example of big data either from your personal experience .pdf
What is an example of big data either from your personal experience .pdf
 
S-Se=S with 3 lone pairs on the first S, 1 lone.pdf
                     S-Se=S with 3 lone pairs on the first S,   1 lone.pdf                     S-Se=S with 3 lone pairs on the first S,   1 lone.pdf
S-Se=S with 3 lone pairs on the first S, 1 lone.pdf
 
The sample program for above series in JAVA will be like belowimpo.pdf
The sample program for above series in JAVA will be like belowimpo.pdfThe sample program for above series in JAVA will be like belowimpo.pdf
The sample program for above series in JAVA will be like belowimpo.pdf
 
The formula for calculating Alveolar ventilation is as followsAlv.pdf
The formula for calculating Alveolar ventilation is as followsAlv.pdfThe formula for calculating Alveolar ventilation is as followsAlv.pdf
The formula for calculating Alveolar ventilation is as followsAlv.pdf
 
D. This element can only have a -2 oxidation stat.pdf
                     D. This element can only have a -2 oxidation stat.pdf                     D. This element can only have a -2 oxidation stat.pdf
D. This element can only have a -2 oxidation stat.pdf
 
P = 12SolutionP = 12.pdf
P = 12SolutionP = 12.pdfP = 12SolutionP = 12.pdf
P = 12SolutionP = 12.pdf
 
carbon moves by A. interstitial diffusion So.pdf
                     carbon moves by A. interstitial diffusion So.pdf                     carbon moves by A. interstitial diffusion So.pdf
carbon moves by A. interstitial diffusion So.pdf
 
NH4Cl = acid NaOH = base They react 11 Leftover = 0.26-0..pdf
NH4Cl = acid NaOH = base They react 11 Leftover = 0.26-0..pdfNH4Cl = acid NaOH = base They react 11 Leftover = 0.26-0..pdf
NH4Cl = acid NaOH = base They react 11 Leftover = 0.26-0..pdf
 
D is the transition represent!! Solution .pdf
                     D is the transition represent!!  Solution    .pdf                     D is the transition represent!!  Solution    .pdf
D is the transition represent!! Solution .pdf
 
CO2 is non polar because C has no lone pairs, so .pdf
                     CO2 is non polar because C has no lone pairs, so .pdf                     CO2 is non polar because C has no lone pairs, so .pdf
CO2 is non polar because C has no lone pairs, so .pdf
 
As more halide ions are added, it loses its color.pdf
                     As more halide ions are added, it loses its color.pdf                     As more halide ions are added, it loses its color.pdf
As more halide ions are added, it loses its color.pdf
 
AppointmentDemo.javaimport java.util.Scanner;    Demonstrat.pdf
AppointmentDemo.javaimport java.util.Scanner;    Demonstrat.pdfAppointmentDemo.javaimport java.util.Scanner;    Demonstrat.pdf
AppointmentDemo.javaimport java.util.Scanner;    Demonstrat.pdf
 
Answer.Ltext0         .local   _ZStL8__ioinit         .comm .pdf
Answer.Ltext0         .local   _ZStL8__ioinit         .comm .pdfAnswer.Ltext0         .local   _ZStL8__ioinit         .comm .pdf
Answer.Ltext0         .local   _ZStL8__ioinit         .comm .pdf
 
d. t -2.718Solutiond. t -2.718.pdf
d. t  -2.718Solutiond. t  -2.718.pdfd. t  -2.718Solutiond. t  -2.718.pdf
d. t -2.718Solutiond. t -2.718.pdf
 
Debt-equity ratio=DebtEQuityHence debt=1.1EquityTotal assets=De.pdf
Debt-equity ratio=DebtEQuityHence debt=1.1EquityTotal assets=De.pdfDebt-equity ratio=DebtEQuityHence debt=1.1EquityTotal assets=De.pdf
Debt-equity ratio=DebtEQuityHence debt=1.1EquityTotal assets=De.pdf
 
Gaseous chemical element, chemical symbol O, atom.pdf
                     Gaseous chemical element, chemical symbol O, atom.pdf                     Gaseous chemical element, chemical symbol O, atom.pdf
Gaseous chemical element, chemical symbol O, atom.pdf
 
B. Remember this - hydroboration attacks alkenes .pdf
                     B. Remember this - hydroboration attacks alkenes .pdf                     B. Remember this - hydroboration attacks alkenes .pdf
B. Remember this - hydroboration attacks alkenes .pdf
 
a). EconomiserAn economiser is a mechanical device which is used a.pdf
a). EconomiserAn economiser is a mechanical device which is used a.pdfa). EconomiserAn economiser is a mechanical device which is used a.pdf
a). EconomiserAn economiser is a mechanical device which is used a.pdf
 
A) As it is shown this disease should be partly autosomal recessive .pdf
A) As it is shown this disease should be partly autosomal recessive .pdfA) As it is shown this disease should be partly autosomal recessive .pdf
A) As it is shown this disease should be partly autosomal recessive .pdf
 
2) 5Solution2) 5.pdf
2) 5Solution2) 5.pdf2) 5Solution2) 5.pdf
2) 5Solution2) 5.pdf
 

Recently uploaded

678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

solAn object will allocated statically when that object is needed.pdf

  • 1. sol: An object will allocated statically when that object is needed for entire life time of that program 1)if object needs recusrion and storage of object conservly then it is stored in stack 2)f object needs dynamic storage then it should be allocated in heap Solution sol: An object will allocated statically when that object is needed for entire life time of that program 1)if object needs recusrion and storage of object conservly then it is stored in stack 2)f object needs dynamic storage then it should be allocated in heap