Are you ready to take your Java skills to the next level? Join our 7-Day Mini Challenge and dive deep into the Collection Framework like never before!
Today is Day-02.
In todays challenge, let us get an Introduction to List and Queue Interface and their implementation classes - ArrayList, LinkedList, Iterator, ListIterator, PriorityQueue
Day:02 Tasks
I have a list of 10 names.
1.
a. which type of collection is best to retrieve the name in an index?
b. The method to get the name in index position five -
c. The method to change the name in index position 2
2. Get the names that has the character 'a' and store those names in a different list, sort them and print it
3. Remove the names that start with a specific letter 'S' from a list, convert to uppercase, sort and print
4. Iterate through the names and get the names that ends with 'e' and remove the duplicates, store them in a different list. print only the last 2 elements
5. Reverse each name in the list and print the names in sorted manner - as 'Priya'- ayirP
I have a list of 10 integer values
6.
a. Which type of collection is best to insert a number in first position?
b. Which method throws exception if the list is empty?
c. Which method returns a special value if the list is empty?
d. What exception is thrown if the list is empty?
7. Iterate thru the list and get only the even numbers, store in another list(name is evennumbers) sort them and print it
8. Iterate thru the list and get the square of each number, check if the number is less than 500, if yes store those numbers in a list(name is squarenumber) sort them and print it
9. Iterate thru the list and calculate the sum and average of numbers and print it
10. Iterate thru the list and remove the duplicate numbers and print it descending order
bonus
Create a LinkedList with single characters as 'y','a','d','t','a','e','r',g' and make it behave as LIFO
___________________________________________________________________________________________________
🔑 What You'll Learn:
✅ Introduction to Collection Framework
✅ ArrayList, LinkedList, Set, TreeSet, HashMap, TreeMap, and more
✅ How to choose the right collection for your use case
✅ Real-world coding scenarios and challenges
💡 Why This Challenge?
In just 7 days, you'll gain the confidence and knowledge to master one of the most essential topics for Java developers.
This mini-series is designed to provide a hands-on learning experience through task-based challenges.
______________________________________________________________________
👨💻 How It Works:
At the end of every video you will get few tasks, that will be shared in the description box.
Complete the daily tasks and share your answers in the comments or in my private community
Join my private paid community to collaborate with passionate learners like you to build skills, solve challenges and grow as developers
Shristi Dev Circle
Link: https://rzp.io/rzp/bXrHN99v
Learn, Code, Grow together
Duration: 6 Months
Here's what you’ll get as part of this community
👉 Weekly Live Q & A Group Call:
Join me, Sripriya Mathan, every Saturday at 8 PM for a live group call.
Here, you can discuss with me directly and get your doubts clarified related to Java Full Stack.
👉 Learn from Industry Experts:
Regular Webinars from Industry Domain Experts on different topics
👉 Save on Premium Learning:
10% off on all our paid programs and courses
👉 Exclusive Community for Discussions
Bonus:
👉 Career Counseling Tailored to You:
One free session to discuss your career goals. Let’s work together to create a clear, actionable plan to advance your career!
This membership is your gateway to exclusive knowledge, expert advice, and a supportive network to propel your career forward. Join us and take your learning and professional journey to the next level!
_______________________________________________________________________
Don’t forget to like, share, and subscribe to stay updated on new tutorials!
-----------------------------------------------------------------------------------------------------------
For Java Full Stack Training, please write back to us at contact@shristitechlabs.com
Get the Spring boot full course with UNLIMITED trainer support -https://bit.ly/2ybYQfq
Subscribe to our channel for more videos - https://bit.ly/2VG2WnQ
To learn more about our courses, Connect
Courses - https://courses.shristitechacademy.com/
Blogs - https://www.shristitechlabs.com/blog/
Instagram - https://instagram/shristi_techacademy
#springframeworkforbeginners
#shristitechacademyjava
#shristitechacademyspring
#dependencyinjectioninspring
#ioccontainer
#springboottutorial
#springframeworkforbeginners
#springtutorial
#autowiring
#springonlinetraining
#springtutorialbyshristi
コメント