Java Made Easy
Java Made Easy
  • 45
  • 507 574
Factorial Recursion Made Easy
Understand what is recursion with the example of factorial calculation.
Переглядів: 899

Відео

How To Sort Objects On Multiple Fields Using Comparator Interface
Переглядів 18 тис.7 років тому
Sort in Java is very easy. In this tutorial we will learn how to sort using anonymous and concrete implementations of Comparator interface.
How To Sort Objects Using Comparator Interface
Переглядів 25 тис.8 років тому
Learn how to sort or order collection or array of objects using Comparator interface. There are two ways to use comparator - Concrete and Anonymous implementation. You will learn both the ways here. Please see the video in high resolution mode
How To Sort Objects Using Comparable Interface
Переглядів 34 тис.8 років тому
In this tutorial learn how to use Comparable interface in java to sort object. You will learn how to sort Collections and Arrays as well as how to correctly use compareTo method to sort objects on ascending or descending order. Also learn how to sort Collections and Arrays in this short tutorial.
How To Convert Array To ArrayList
Переглядів 6 тис.8 років тому
Converting Array to ArrayList can be done very easily using existing Java library classes. Java 8 now allows you to convert to convert primitive array of int, long and double to ArrayList of List.
How To Convert ArrayList To Array Video
Переглядів 3,3 тис.8 років тому
Converting Arraylist to Array is a common requirement. Learn how to convert ArrayList to Array in Java in this video tutorial..
What is String Pool In Java Video
Переглядів 8 тис.8 років тому
Strings are stored in a unique way. String constants are stored in pools so that memory can be saved. In this tutorial learn what are string pools and where they are applicable. You will also learn when Strings are not stored in pools.
6 Ways to Create Java Objects Video Tutorial
Переглядів 11 тис.8 років тому
Usually we use new to create Java object. But there are around half a dozen ways to create java objects. They are as follows new operator, Class.forName, Reflection, Cloning, Deserialization and arrays declaration. Learn more details in this video on how to instantiate and create objects
Default Values of Primitives In Java Video
Переглядів 1,5 тис.8 років тому
Java has 8 types of basic data types called primitives. The primitives are byte, short, int, long, boolean, double, float and char. When they are declared but not initialized with any value, java provides default values. Learn the default values of primitives in this tutorial. Also learn what is the difference to default values in when declared at class level vs method level.
Array Vs ArrayList In Java Video
Переглядів 4,8 тис.8 років тому
Array vs ArrayList is one of the very common Java interview Questions. In this tutorial learn the major differences between Array and ArrayList. Arrays Points Array size is fixed during declaration. Array can access using array name & index Array can store primitives and objects. Array has length field for finding total elements. Array allows multidimensional data Arrays only allow homogeneous ...
Static Interface Methods Practical Example Java 8 Video
Переглядів 8318 років тому
In the previous tutorial we saw what are static interface methods. In this tutorial we will see some practical example of static interface methods.
What Are Static Interface Methods in Java 8 Video
Переглядів 1,2 тис.8 років тому
Learn what Are static interface methods in Java 8
What Are Predicates In Java 8 Video
Переглядів 19 тис.8 років тому
Predicates in Java 8 are used to separate out conditions or filters applied to collections of objects. Predicate is a Functional interface and supports Lambda expressions. Separating Predicates that way makes them reusable and you can achieve separation of business layer and domain layer. Learn with practical examples, what are predicates, when and how to use them and how to use them in your code.
Java 8 Method Reference Tutorial Part 2
Переглядів 3,8 тис.8 років тому
Learn the constructor method references and method references of an arbitrary object or a particular type. Java method reference are used to shorten Lambda expressions and make them easier to understand. In the first part of this tutorial we learnt what are method references. We also saw practical examples of instance and static type of method references. In this video we will see practical exa...
Java 8 Method Reference Tutorial Video - Part 1
Переглядів 12 тис.8 років тому
Method References in Java 8 can be exciting and confusing at the same time. In this video learn the basics of method references in Java 8, when you can use them and key points to remember. You will also learn practical examples of Instance and Static method references in Java 8. The source code of the examples are at github.com/freetipscentral/java8-methodReferencesExample.git
How To Use Supplier Interface In Java 8 Video
Переглядів 13 тис.8 років тому
How To Use Supplier Interface In Java 8 Video
How To Use Consumer Interface In Java 8 Video
Переглядів 7 тис.8 років тому
How To Use Consumer Interface In Java 8 Video
How to write Lambda Expressions in Java 8 Video
Переглядів 6 тис.8 років тому
How to write Lambda Expressions in Java 8 Video
What is Functional interface in Java 8 Video
Переглядів 20 тис.8 років тому
What is Functional interface in Java 8 Video
What is Default Method in Java 8 Video
Переглядів 6 тис.8 років тому
What is Default Method in Java 8 Video
Java Client And Service To delete REST resource with DELETE method
Переглядів 1,9 тис.8 років тому
Java Client And Service To delete REST resource with DELETE method
Java Client To update REST resource with PUT method
Переглядів 7 тис.8 років тому
Java Client To update REST resource with PUT method
Java client To Return Xml Or JSON List From Get Method in REST service
Переглядів 2,6 тис.8 років тому
Java client To Return Xml Or JSON List From Get Method in REST service
Java Client For Get Rest Service With XML Response
Переглядів 5 тис.8 років тому
Java Client For Get Rest Service With XML Response
Java Client For Post Rest Service With Rest Response
Переглядів 23 тис.8 років тому
Java Client For Post Rest Service With Rest Response
Rest Service To Handle Json List Input As ArrayList
Переглядів 17 тис.8 років тому
Rest Service To Handle Json List Input As ArrayList
Rest Service To Handle Xml List Input As ArrayList
Переглядів 2,2 тис.8 років тому
Rest Service To Handle Xml List Input As ArrayList
Rest Service To Return List Of Xml Objects
Переглядів 9928 років тому
Rest Service To Return List Of Xml Objects
Rest Service To Return List Of Xml Objects
Переглядів 1,2 тис.8 років тому
Rest Service To Return List Of Xml Objects
Rest Service To Post Xml Data
Переглядів 23 тис.8 років тому
Rest Service To Post Xml Data

КОМЕНТАРІ

  • @saravananmarimuthu6278
    @saravananmarimuthu6278 19 днів тому

    When use tomcat 10.x version I am getting the below error while starting the server and 404 error.🤔

  • @manasakotte4283
    @manasakotte4283 4 місяці тому

    Could you show us how to implement a post request which accepts hasmap as input with xml format?

  • @krishnamohan5771
    @krishnamohan5771 8 місяців тому

    thank you sir.great health to you

  • @nitindixit676
    @nitindixit676 Рік тому

    Thanks for video/ I have an issue with this way of sorting though. Because, when the first field is sorted , second one is ignored/ For ex suppose there are two fields Age and name , & i intend to sort on age and name both. So if there are two entries with age 34, and name as Abhi and Nutan, I need Abhi to appear first in the list and then Nutan. How do I achieve this?

  • @tectej
    @tectej Рік тому

    Good tutorial

  • @zeysworld9296
    @zeysworld9296 Рік тому

    I know this video is old, but it's definitely gold. You helped me understand this concept thanks a lot man!

  • @qulaeygaming5202
    @qulaeygaming5202 Рік тому

    Than you mr java made easy

  • @manaschaudhary2705
    @manaschaudhary2705 Рік тому

    simple and good explanation

  • @evgeniyskiba2410
    @evgeniyskiba2410 Рік тому

    Both site and code don't wok

  • @zstar8397
    @zstar8397 Рік тому

    hey i just wanna say that GOD loved the world so much he sent his only begotten son Jesus to die a brutal death for us so that we can have eternal life and we can all accept this amazing gift this by simply believing in him (Jesus) asking for the forgiveness of your sins and forming a relationship with heavenly father.

  • @Neeru0908
    @Neeru0908 Рік тому

    I am getting below error can anyone help me with this WARN: HHH000181: No appropriate connection provider encountered, assuming application will be supplying connections Exception in thread "main" javax.persistence.PersistenceException: [PersistenceUnit: EclipseJPA] Unable to build EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) at com.neeru.First_JPA_Maven.Student_Test.main(Student_Test.java:9) Caused by: org.hibernate.HibernateException: Connection cannot be null when 'hibernate.dialect' not set at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:97) at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:67) at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:176) at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)

  • @karlecoding9501
    @karlecoding9501 2 роки тому

    Please follow our channel for java, spring, elastic search, mongodb and mysql related videos

  • @karlecoding9501
    @karlecoding9501 2 роки тому

    Please follow our channel for java, spring, elastic search, mongodb and mysql related videos

  • @fluff4656
    @fluff4656 2 роки тому

    thank you sir

  • @அய்யாவைதியம்

    nice

  • @amirelasaad1554
    @amirelasaad1554 2 роки тому

    In the anonymous class, the compare method returns a value of type int but you return a value of type String(getname()), why isn't that an error?, where does the method compareTo come from it's not implemented anywhere in the classes

  • @NoamBB1001
    @NoamBB1001 2 роки тому

    ty very much

  • @talog4102
    @talog4102 2 роки тому

    Why String doesn't use scp only

  • @AmitKumar-om4yd
    @AmitKumar-om4yd 2 роки тому

    Can you provide this code, please

  • @fantechno7484
    @fantechno7484 2 роки тому

    How to upload image using postman request client to server

  • @m4leopard635
    @m4leopard635 2 роки тому

    How can I run this globally instead localhost

  • @lucacadei7712
    @lucacadei7712 2 роки тому

    Thank u bro u saved my life

  • @shashankdaksh7554
    @shashankdaksh7554 2 роки тому

    Nice explanation . Keep the work up

  • @shiVam01242
    @shiVam01242 2 роки тому

    Thankyou :)

  • @oreo2606
    @oreo2606 3 роки тому

    Really made it easy thank you

  • @ardiliciousxxx
    @ardiliciousxxx 3 роки тому

    Hi, nice Video! one question: What did u write in "Persons" and "Gender" and "PersonBuilder"? You didnt show it. Would be nice to know how to code it.

  • @carnotacedamy5016
    @carnotacedamy5016 3 роки тому

    Way of explanation is very great ... thank you sir ....I got all the important information about this topic just because of u🙏

  • @kuch0nahin
    @kuch0nahin 3 роки тому

    Great Explanation!

  • @jonathaspadrinho
    @jonathaspadrinho 3 роки тому

    Thank you, sir!

  • @mediaatech7992
    @mediaatech7992 3 роки тому

    so thanks you pro

  • @riki2404
    @riki2404 3 роки тому

    Thank you. That was amazingly explained. Now its crystal clear.

  • @wondrf2018
    @wondrf2018 3 роки тому

    Wonderful job.

  • @rajukanuri8660
    @rajukanuri8660 3 роки тому

    Excellent explanation. Adding to your video.. we can do something like below in java8 with multiple fields: listOfEmps.stream().sorted(Comparator.comparing(Employee::getEmpId).thenComparing(Employee::getEmpName)).forEach(System.out::println);

  • @csquaredgaming
    @csquaredgaming 3 роки тому

    Whoa this is a lot simpler than the method I had found, though slightly less flexible. I think I'll use this way of sorting on multiple fields in the future for a lot of 'one-time' sorting jobs where I don't necessarily need to sort the data in a lot of different ways.

  • @rakesh3020
    @rakesh3020 3 роки тому

    Hai your pronounciation is clear which is really rare , please do post more videos

  • @mackensonreginaldmichel399
    @mackensonreginaldmichel399 3 роки тому

    Thansk a lot, but I don;t know when to use Comparator and when to use Comparable

  • @tejaseervi1151
    @tejaseervi1151 3 роки тому

    awesome...

  • @tejaseervi1151
    @tejaseervi1151 3 роки тому

    Great explanation....

  • @kwnkar
    @kwnkar 3 роки тому

    Very helpful indeed, for new visitors go to 14:30 it is fully understandable

  • @renejacques8288
    @renejacques8288 3 роки тому

    Is it in a separate video that you said the lambda representation for supplier is, for example () -> new User(1, "John")? I didn't see that in the previous examples in this video. I'm confused by the syntax (1, "John"). Please explain.

    • @vili12011
      @vili12011 3 роки тому

      User has an id and a name, thus when creating the object it needs two arguments, the 1 is the id and "John" is the name, so basically you instantiate the User object only inside the suppliers get() method. Sorry if I misunderstood your comment.

  • @Rajnish089
    @Rajnish089 3 роки тому

    This is a awesome viedo everytime i go for interview I watch this viedo

  • @ayeshaadhikari6123
    @ayeshaadhikari6123 3 роки тому

    thank you so much sir you have explained the topic so beautifully :)

  • @dimuthusudesh850
    @dimuthusudesh850 3 роки тому

    👍

  • @sindhusudhakaran1731
    @sindhusudhakaran1731 3 роки тому

    very good examples .. thankyou

  • @mahendraprasad800
    @mahendraprasad800 4 роки тому

    where is source code is available?

  • @truvoi8686
    @truvoi8686 4 роки тому

    Poor dog I liked my own commet how sad.

  • @bhavyashukla9522
    @bhavyashukla9522 4 роки тому

    Very helpful

  • @mervinlee450
    @mervinlee450 4 роки тому

    I am confused here... I have a list of ranks.. and I like to display the highest rank first... The following ranks are as follows from highest to lowest: Super Sleuth, Master Detective, Senior Detective, Detective, Junior Detective etc... how would I do that?

    • @MrDoctorSchultz
      @MrDoctorSchultz 4 роки тому

      You might want to have an int value associated with each rank, then just compare that int value instead

  • @ravik5617
    @ravik5617 4 роки тому

    perfectly explained.... clear vision of the differences..... Thank you very much

  • @barshabhattacharjee6788
    @barshabhattacharjee6788 4 роки тому

    For more visit: ua-cam.com/video/wbrWpt--cgw/v-deo.html