insightful video. Please for the sake of those some of us that are new to programming, please always make the variable names more understandable, it can as well be written in full. Thank you!
Thank you so much for this tutorial, I found it easy to follow it and hopefully I can use the code as a building block for an assignment. I'll be saving your channel!
Sir this video of yours gives me clear understanding of Java maybe in a little way but reviewing such everyday will led me to a bigger gain anyway as seeing your expertise on this I believe it still easy for you to do a program in GUI and I hope you do so. Thanks in advance.
I've been looking for a CRUD tutorial without a GUI and without a mySql connection. But I can't find it, and I hope the tutorial above works. If successful I will support you doctor🙏
Hello sir, wonderful explanation and it was very helpful.I had a problem statement.If you could help me solve it would really help as I'm struggling.Please let me know if I can connect and share the problem statement with you through any means.Thank you!
Will I be able to perform operations in this if I modify it into a shopping program I wish to make the salary into price then the name into quantity so that it will be (Item Name, Price, quantity) if the customer then purchase a product it will proceed to do the operation ( TotalPrice = Price * Quantity) . Anyways great video!
AMAZING! Please sir can u tell me how can I convert it in OOP (can u tell me what should i just add to set it as OOP) Thank you in advance!! I appreciate your work!
Sir... For me it shows error in CRUDDemo class..... "List"..... Cannot find symbol. Arraylist and listiterator... Everything shows same error. Pls help me🥺
Just Add case 6 for Search By Name and add the following code case 6: found = false; System.out.print("Enter Empname to Search :"); ename = s1.nextLine(); System.out.println("----------------------------"); i = c.iterator(); while(i.hasNext()){ Employee e = i.next(); if(e.getEname().equals(ename)) { System.out.println(e); found = true; } } if(!found){ System.out.println("Record Not Found"); } System.out.println("----------------------------"); break;
@@DrParagShukla Sir,could you please tell what is wrong in this code.I am getting "Book not found" statement for every input eventhough the bookname exists in the file. case 1: if(file.isFile()){ ois=new ObjectInputStream(new FileInputStream(file)); al=(ArrayList)ois.readObject(); //ObjectOutputStream gets closed ois.close(); boolean found=false; System.out.println("Enter book name to search:"); String book=s1.nextLine(); System.out.println("----------------------------------------"); li=al.listIterator(); while(li.hasNext()){ Books e=li.next(); if(e.book==book){ System.out.println(e); found=true; } } if(!found) System.out.println("Book not found"); System.out.println("---------------------------------------"); }else{ System.out.println("file not exists"); }
ArrayList empList = new ArrayList(); Collections.sort(empList, new Comparator(){ public int compare(Employee e1, Employee e2){ return e1.empno - e2.empno; } }); for Reverse Collections.sort(empList, new Comparator(){ public int compare(Employee e1, Employee e2){ return e2.empno - e1.empno; } });
Hi, I have a list of students which has many elements how can update every elements? like below: public static List studentList = new ArrayList(List.of( new Student(1,12345L, "Jayne", "Smith", parentList.get(0), courseList ), new Student(2, 12346L, "Candy", "Brown", parentList.get(1),courseList ) how can I change name of any fields I want?
hello, how do you add Sort function to this code? I tried this by adding to your source code but it didn't work. ArrayList empList = new ArrayList(); Collections.sort(empList, new Comparator(){ public int compare(Employee e1, Employee e2){ return e1.empno - e2.empno; } });
Ive been searching for HOURS!! This is the best and Most useful video out there. Thank you!
My Pleasure
Agree
I was also searching for the same.
Very powerful content and explanation.
insightful video. Please for the sake of those some of us that are new to programming, please always make the variable names more understandable, it can as well be written in full. Thank you!
Thank you so much
very helpful and instruction clear, thank you Sir 🙏
Glad to know that it is helpful!
Damn it dude.. I have been searching for this forever. Thank u so so much.. I love the video.. extremely clear explanation
can you sent the code bro
Thank you so much for your kind words.
Glad that it helps
Source Code is available at following link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
@@DrParagShukla do u by any chance do any classes?
Thank you so much! It was very helpful. I have been searching this problem for an week
My Pleasure
Really awesome tutorial, clear, simple and straight to the point, thank you so much for this video 👍
Glad that it helps
My Pleasure
@@DrParagShuklacan i ask what program you are using?
@@samsaumaralikhan For Code Writing Sublime
Java - JDK 8+
@@DrParagShukla would this code still works if i use jgrasp?
My guy, you saved my life. I pray to whoever god I can to give you the best things in life. You are a legend.
Thank You So Much for your kind words
Great tutorial, great explanation, thank you so much for this video!
Thank You So Much for your kind words
Thank you so much for this tutorial, I found it easy to follow it and hopefully I can use the code as a building block for an assignment. I'll be saving your channel!
My Pleasure
Glad that it helps
@@DrParagShukla Is there anyway to pass a csv file instead of a txt file?
I'm getting issues with ObjectOutputStream and ObjectInputStream with a csv.
Sir this video of yours gives me clear understanding of Java maybe in a little way but reviewing such everyday will led me to a bigger gain anyway as seeing your expertise on this I believe it still easy for you to do a program in GUI and I hope you do so. Thanks in advance.
Sure
I will do it.
Thank you for your kind words
Thank you so much. You've saved me a bunch. Your explanations are very detailed . I am one happy gal
Thank You
😊😊
😊😗😗😗
Thank you so much for such an amazing tutorial...
Glad that it helps
My Pleasure
Excellent tutorial. Thank you so much!
Glad that it helps
Tysm sir ...😇 you explain this concept in very easy way and its really helpful for me ...🙇♂
My Pleasure
Good explanation. This helped me a lot to understand collections, list of collection.
Thank you so much for your kind words
Good explanation sir Thank you 🤝
My Pleasure
Thank You So Much Sir You just Explained the Complex Concepts with very Ease Way I am really Grateful for this Thanks a lotttt
Thank You So Much for your kind words
I've been looking for a CRUD tutorial without a GUI and without a mySql connection. But I can't find it, and I hope the tutorial above works. If successful I will support you doctor🙏
Hope this video helps.
Excellent tutorial. Well done. Thanks.
My Pleasure
Really Amazing Sir ...I Learned a lot Thank You Sir
My Pleasure
This is really useful !!! 👍👌🙌
Thank You
@@DrParagShukla sir can I get copy of this code
@@DrParagShukla please tell me sir how can I get this code
Thanks, Man! for the best explanation...
My Pleasure
Thank you, this is really helpful.
Please, keep making more videos.
My Pleasure
Sure I will
Sir, this video so good !!! Hope you can up more video like this
Glad that it helps
My Pleasure
Great sir
Thank You
Very helpful and nice explanation 👍
Thank You 🙏
Sir, this is really great or useful information for us 🙏🏼.
Thank You So Much
Thank you sir 😘
My Pleasure
Hello sir, wonderful explanation and it was very helpful.I had a problem statement.If you could help me solve it would really help as I'm struggling.Please let me know if I can connect and share the problem statement with you through any means.Thank you!
Good explanation sir..
Can you please write program for ranking system, insertion order , exceptional handling to this program using constructors..
Thank you
Will look into the matter
Thank you sir🙏🙏🙏.
My Pleasure
really awesome explanation sir
Thank You So Much
Nice vid man
Thank you
Fantastic explanation sir!! BTW are you taking any online class?Would like to know.Thnak u!
Thanks 🥰🥰
superb sir
Thank You
Thank you so much for this very helpful tutorial! ☺️ Do you have a source code for this?
Glad to know that it helps
Source Code Link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
Thanks a lot Sir ,and how can I get the total salary ?
Thx Dr
My Pleasure
where does the C variable in menu 1 come from? I tried it, an error occurred
at time 5:03 variable c is declared for collection
Source code for this video is available on following link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
Wow thank you so much
My Pleasure
Thankyou sir
My Pleasure
Thankyou sirrr!!!!!!!
My Pleasure
Thank you
My Pleasure
Amazing !
My Pleasure
Good morning sir, how can we do the same thing above with databases like sql or mysql?
Java to SQLSERVER
th-cam.com/video/UeElnmcsKKc/w-d-xo.html
Java to Oracle
th-cam.com/video/JiWw_kObYgs/w-d-xo.html
Will I be able to perform operations in this if I modify it into a shopping program I wish to make the salary into price then the name into quantity so that it will be (Item Name, Price, quantity) if the customer then purchase a product it will proceed to do the operation ( TotalPrice = Price * Quantity) . Anyways great video!
Yes Correct
So, many application can be developed based on this video
@@DrParagShukla Will I be able to perform calculations between 2 array elements using this program?
AMAZING! Please sir can u tell me how can I convert it in OOP (can u tell me what should i just add to set it as OOP)
Thank you in advance!!
I appreciate your work!
Thank you for appreciation.
This is already in OOP
@@DrParagShukla Thanks a lot professor ,and how can I add the total salary of the array?
Which software u r using for java?
Sublime Editor for code writing and jdk 16 for testing program
i have question, how to add a menu that can sort the data using sort method such as Selection, bubble etc in descending ?
Hello, How to copy paste selected files and folders at same time like filemanager andriid app /
can i do this without using arraylist.. just array?
You may use any collection family class like LinkedList, ArrayList etc. Array is not part of that.
can you please help me sir in my case study
How would I write the toString method into a text file?
Hi sir, can you please tell how to add one default input in this program in compile time
sir how to create it in a file and at the same time read,update,delete it with textfields?
in update.. can you please give example. if the only employee name will be updated. thanks
Sir... For me it shows error in CRUDDemo class..... "List"..... Cannot find symbol. Arraylist and listiterator... Everything shows same error. Pls help me🥺
import java.util.*;
please sir 1st told the whole project scenario ,then write the code .i think it will be the easy way to understand and hope you do so, thanks a lot
Sure
Thank you
Can this be done using hashmap?
Did u connect to sql?
No it's simple collection
For java oracle connection you can watch following video
th-cam.com/video/JiWw_kObYgs/w-d-xo.html
For Java SQL Server watch following video
th-cam.com/video/UeElnmcsKKc/w-d-xo.html
Sir, what are the changes in code if we want to search the employee by his name?
Just Add case 6 for Search By Name and add the following code
case 6:
found = false;
System.out.print("Enter Empname to Search :");
ename = s1.nextLine();
System.out.println("----------------------------");
i = c.iterator();
while(i.hasNext()){
Employee e = i.next();
if(e.getEname().equals(ename)) {
System.out.println(e);
found = true;
}
}
if(!found){
System.out.println("Record Not Found");
}
System.out.println("----------------------------");
break;
@@DrParagShukla Thank you sir🙏🙏🙏.
My Pleasure
@@DrParagShukla
Sir,could you please tell what is wrong in this code.I am getting "Book not found" statement for every input eventhough the bookname exists in the file.
case 1:
if(file.isFile()){
ois=new ObjectInputStream(new FileInputStream(file));
al=(ArrayList)ois.readObject();
//ObjectOutputStream gets closed
ois.close();
boolean found=false;
System.out.println("Enter book name to search:");
String book=s1.nextLine();
System.out.println("----------------------------------------");
li=al.listIterator();
while(li.hasNext()){
Books e=li.next();
if(e.book==book){
System.out.println(e);
found=true;
}
}
if(!found)
System.out.println("Book not found");
System.out.println("---------------------------------------");
}else{
System.out.println("file not exists");
}
@@shaikkaleema786 in if condition
Instead of e.book == book
Just write the following
If(e.book.equals(book))
other code to use aside from do and while?
Could you tell how to call all the operation in another package?
Do you have any flow chart
When I tried changing the variables it won't run please help it says error: can't find main(String[]) method in class: Employee
Write main function
hlo,How to do two crud operations like for user and for book crud operations in a single crud operations
Use join Query and do the same using JDBC
Hi sir I have one doubt... in which platform can I do this and get output Because I do this program today but I didn't get output!
You need JDK and editor to do this.
hello sir how do I add a sorting function in this code?
ArrayList empList = new ArrayList();
Collections.sort(empList, new Comparator(){
public int compare(Employee e1, Employee e2){
return e1.empno - e2.empno;
}
});
for Reverse
Collections.sort(empList, new Comparator(){
public int compare(Employee e1, Employee e2){
return e2.empno - e1.empno;
}
});
@@DrParagShukla I tried to include this as case 6 but it didn't work for me. can you please help sir? Thank you.
Hi, I have a list of students which has many elements how can update every elements? like below:
public static List studentList = new ArrayList(List.of(
new Student(1,12345L, "Jayne", "Smith", parentList.get(0), courseList ),
new Student(2, 12346L, "Candy", "Brown", parentList.get(1),courseList )
how can I change name of any fields I want?
Instead of List create ArrayList and then use set function to update any values.
Do you have the sourcr code sir
Link for source code
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
Am having a problem running case 1 properly it says Java. Lang. Unsupported operation exception : unsupported
Please post your code
Will correct it
Hello Good Day. Did u solve this problem of yours? Same issue here
Hi sir how can I become like you please help me i want to become fast in development
Practice makes everyone perfect
It's a matter of practice only
How to generate auto ID
And sir after the update data. My emp id shows incremented.
Same doubt
sir how to stop the duplicate values
Use HashMap collection and maintain key value pair.
Key in Map Collection is unique
Sir I am getting error can't find main string method [ ] in class Employee
When you run the program using java write name of class which has the main function
java name_of_class_which_has_main
How to return the product to Flipkart like that code i need
The method listIterator from ListIterator cannot find symbol. How to solve this problem? Anyone? Thank you!
please check have you written import statement at first line??
import java.util.*;
How abour retrieve sir?
sir can it use linkedlist sir not arraylist
Yes why not
You may use it
How to do it in eclipse
hello.. how to connect it on a database??
Link to connect with Database
th-cam.com/video/JiWw_kObYgs/w-d-xo.html
Sir please share the source code .I need it today . it's very nice explanation .❤
Please find source code at following link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
@@DrParagShukla thank you so much sir ❤❤
My Pleasure
How to apply add user
Where can I get this code
Source Code Link: videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
code sir
Source code of this video is posted on following link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
Can u please upload source code
Yes Sure
Very Soon i will share source code Link
Source code link..?
Source Code Link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
One help doubt sir
Yes
please mention your doubt
Sir can send this source code .... this will help me alot
Please find source code at following link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
Can u send the source code plz
Following is the link for sourcecode.
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
can you sent the code sir?
Source Code is available at following link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
This program get link
Source Code Link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
@@DrParagShukla Hello sir can i get assignment on user role:buyer and seller using servlet and jsp in java project also mysql
Que diabos é 'empno'?
Sir can i have the source code please 🥺
Please find source code at following link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
code source please
Code
Source code link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
Hello sir
How can I get source code
Please find source code at following link
videosourcecode.blogspot.com/2021/09/source-code-of-video-java-collection.html
hello, how do you add Sort function to this code? I tried this by adding to your source code but it didn't work.
ArrayList empList = new ArrayList();
Collections.sort(empList, new Comparator(){
public int compare(Employee e1, Employee e2){
return e1.empno - e2.empno;
}
});
can i change the arraylist to arrayqueue or not?