SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von baabtra.com - No. 1 supplier of quality freshers

Mehr von 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
 

Kürzlich hochgeladen

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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
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
 
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 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
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
 

Kürzlich hochgeladen (20)

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
 
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
 
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
 
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Ữ Â...
 
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...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
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
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
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
 

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