SlideShare a Scribd company logo
1 of 11
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
Typing Speed
Week

Target Achieved

1

22

2

25

24

3

30

25

4

30

28
Jobs Applied
#

Company

Designation

Applied Date

1

AfiInfotec

SoftwareDeveloper

21/8/2013

2

CodeLogic

SoftwareDeveloper

23/8/2013

3

Current Status
ADDING of the presentation
Title MULTIPPLE OBJECT TO ARRAYLIST IN JAVA

NoushadKanniyan
noushadkanniyan6@gmail.com
www.facebook.com/nnunu7@gmail
.com
noushadkanniyan
noushadkanniyan6@gmail.com
9747394754
CLASS BEAN
•

public class BeanQn {

•
•

private String FirstName;
private String LastName;

•
•
•
•
•
•
•
•
•
•
•
•
•

public String get FirstName() {
return FirstName;
}
public void set FirstName(String firstname) {
FirstName = firstname;
}
Public String getLastName(){
Return LastName;
}
Public void set LastName(String lastname){
LastName=lastname;
}
}
ADDING VALUES TO ARRAYLIST
public class ExamBean {
ArrayList<BeanQn>ExamBeen=new ArrayList<BeanQn>();
ExamBean()
{
BeanQn ObjBean1=new BeanQn();
ObjBean .setFirstName(“Mohn");
ObjBean.setLastName(“Palakkal");
• ExamBeen.Add(ObjBean1);
BeanQn ObjBean2=new BeanQn();
ObjBean2. setFirstName(“Ramu ");
ObjBean2. setLastName(“Erakkal");
ExamBeen.Add(ObjBean2);
}
public ArrayList<BeanQn>getList()
{
return ExamBeen;
}
}
RETREAVING ARRAY VALUES
public static void main(String[] args) {
ExamBean ObjExamBean=new ExamBean ();
ArrayList NewList=ObjExamBn.getList();
int size=NewList.size();
For(int i=0;i<size;i++)
{
BeanQn ObjBeanQn=(BeanQn)NewList.get(i);
System.out.println(ObjBeanQn.getFirstName());
System.out.println(ObjBeanQn.getLastName());
}
end
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.

Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550

Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550

More Related Content

Similar to Adding multiple object in java

[ICSE2014 SEET]Quantitative Assessment with Using Ticket Driven Development f...
[ICSE2014 SEET]Quantitative Assessment with Using Ticket Driven Development f...[ICSE2014 SEET]Quantitative Assessment with Using Ticket Driven Development f...
[ICSE2014 SEET]Quantitative Assessment with Using Ticket Driven Development f...
Hiroshi Igaki
 

Similar to Adding multiple object in java (20)

Grid view in asp.net
Grid view in asp.netGrid view in asp.net
Grid view in asp.net
 
Error handling in asp.net
Error handling in asp.netError handling in asp.net
Error handling in asp.net
 
Error handling in asp.net
Error handling in asp.netError handling in asp.net
Error handling in asp.net
 
Mvc
MvcMvc
Mvc
 
SDLC
SDLC SDLC
SDLC
 
Tutorial Hub presentation
Tutorial Hub  presentationTutorial Hub  presentation
Tutorial Hub presentation
 
Html 5
Html 5Html 5
Html 5
 
scope of variables
scope of variablesscope of variables
scope of variables
 
Kajari_Resume
Kajari_ResumeKajari_Resume
Kajari_Resume
 
[ICSE2014 SEET]Quantitative Assessment with Using Ticket Driven Development f...
[ICSE2014 SEET]Quantitative Assessment with Using Ticket Driven Development f...[ICSE2014 SEET]Quantitative Assessment with Using Ticket Driven Development f...
[ICSE2014 SEET]Quantitative Assessment with Using Ticket Driven Development f...
 
SpiraPlan - Top Productivity Boosting Features
SpiraPlan - Top Productivity Boosting FeaturesSpiraPlan - Top Productivity Boosting Features
SpiraPlan - Top Productivity Boosting Features
 
Gdsc iiits (29 09-2021)
Gdsc iiits (29 09-2021)Gdsc iiits (29 09-2021)
Gdsc iiits (29 09-2021)
 
GRASPSKILLS HANDBOOK
GRASPSKILLS HANDBOOKGRASPSKILLS HANDBOOK
GRASPSKILLS HANDBOOK
 
American inter continental university mgmt 435 docx
American inter continental university mgmt 435 docxAmerican inter continental university mgmt 435 docx
American inter continental university mgmt 435 docx
 
Ado.net in Asp.net
Ado.net in Asp.netAdo.net in Asp.net
Ado.net in Asp.net
 
Microsoft Project 2013 Beginners - Course Gate
Microsoft Project 2013 Beginners - Course GateMicrosoft Project 2013 Beginners - Course Gate
Microsoft Project 2013 Beginners - Course Gate
 
Using Power Automate to manage Microsoft 365 evergreen change | MN365 - April...
Using Power Automate to manage Microsoft 365 evergreen change | MN365 - April...Using Power Automate to manage Microsoft 365 evergreen change | MN365 - April...
Using Power Automate to manage Microsoft 365 evergreen change | MN365 - April...
 
CV
CVCV
CV
 
Mayur_Soni_Internship for python for free
Mayur_Soni_Internship for python for freeMayur_Soni_Internship for python for free
Mayur_Soni_Internship for python for free
 
CV_Jyotsana
CV_JyotsanaCV_Jyotsana
CV_Jyotsana
 

More from baabtra.com - No. 1 supplier of quality freshers

More from baabtra.com - No. 1 supplier of quality freshers (20)

Agile methodology and scrum development
Agile methodology and scrum developmentAgile methodology and scrum development
Agile methodology and scrum development
 
Best coding practices
Best coding practicesBest coding practices
Best coding practices
 
Core java - baabtra
Core java - baabtraCore java - baabtra
Core java - baabtra
 
Acquiring new skills what you should know
Acquiring new skills   what you should knowAcquiring new skills   what you should know
Acquiring new skills what you should know
 
Baabtra.com programming at school
Baabtra.com programming at schoolBaabtra.com programming at school
Baabtra.com programming at school
 
99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love 99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love
 
Php sessions & cookies
Php sessions & cookiesPhp sessions & cookies
Php sessions & cookies
 
Php database connectivity
Php database connectivityPhp database connectivity
Php database connectivity
 
Chapter 6 database normalisation
Chapter 6  database normalisationChapter 6  database normalisation
Chapter 6 database normalisation
 
Chapter 5 transactions and dcl statements
Chapter 5  transactions and dcl statementsChapter 5  transactions and dcl statements
Chapter 5 transactions and dcl statements
 
Chapter 4 functions, views, indexing
Chapter 4  functions, views, indexingChapter 4  functions, views, indexing
Chapter 4 functions, views, indexing
 
Chapter 3 stored procedures
Chapter 3 stored proceduresChapter 3 stored procedures
Chapter 3 stored procedures
 
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 2  grouping,scalar and aggergate functions,joins   inner join,outer joinChapter 2  grouping,scalar and aggergate functions,joins   inner join,outer join
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Microsoft holo lens
Microsoft holo lensMicrosoft holo lens
Microsoft holo lens
 
Blue brain
Blue brainBlue brain
Blue brain
 
5g
5g5g
5g
 
Aptitude skills baabtra
Aptitude skills baabtraAptitude skills baabtra
Aptitude skills baabtra
 
Gd baabtra
Gd baabtraGd baabtra
Gd baabtra
 

Recently uploaded

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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
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)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
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...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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
 
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Ữ Â...
 

Adding multiple object in java

  • 1.
  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 5. ADDING of the presentation Title MULTIPPLE OBJECT TO ARRAYLIST IN JAVA NoushadKanniyan noushadkanniyan6@gmail.com www.facebook.com/nnunu7@gmail .com noushadkanniyan noushadkanniyan6@gmail.com 9747394754
  • 6. CLASS BEAN • public class BeanQn { • • private String FirstName; private String LastName; • • • • • • • • • • • • • public String get FirstName() { return FirstName; } public void set FirstName(String firstname) { FirstName = firstname; } Public String getLastName(){ Return LastName; } Public void set LastName(String lastname){ LastName=lastname; } }
  • 7. ADDING VALUES TO ARRAYLIST public class ExamBean { ArrayList<BeanQn>ExamBeen=new ArrayList<BeanQn>(); ExamBean() { BeanQn ObjBean1=new BeanQn(); ObjBean .setFirstName(“Mohn"); ObjBean.setLastName(“Palakkal"); • ExamBeen.Add(ObjBean1); BeanQn ObjBean2=new BeanQn(); ObjBean2. setFirstName(“Ramu "); ObjBean2. setLastName(“Erakkal"); ExamBeen.Add(ObjBean2); } public ArrayList<BeanQn>getList() { return ExamBeen; } }
  • 8. RETREAVING ARRAY VALUES public static void main(String[] args) { ExamBean ObjExamBean=new ExamBean (); ArrayList NewList=ObjExamBn.getList(); int size=NewList.size(); For(int i=0;i<size;i++) { BeanQn ObjBeanQn=(BeanQn)NewList.get(i); System.out.println(ObjBeanQn.getFirstName()); System.out.println(ObjBeanQn.getLastName()); }
  • 9. end
  • 10. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 11. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550