This tutorial Explain about String in Java. What is the String? String Methods, Where to use the String ? Each method is Explained with a brief Description, Syntax and an Example: In Java, the String class is used to represent a sequence of characters. String in Java are used for storing text. Here are some […]
Read MoreAbstraction – Java Tutorial in Tamil This blog explain about Abstraction in Java Easy to understand Java Oops concept Abstraction:- In the context of Java programming, abstraction is one of the four fundamental principles of object-oriented programming (OOP), along with encapsulation, inheritance, and polymorphism. Abstraction is “Handling complexity by hiding unnecessary details from the user” […]
Read MoreIn this blog explain what is Inheritance, How to use inheritance & Types of Inheritance. Inheritance:- An object of one class behaving as an object of another class. In Java, inheritance means creating new classes based on existing ones. Inheritance purpose is code re-usability. There are two major classes namely Parent class or Super class […]
Read MoreThis blog explain about Array in detailed. Array:- A group of similar data types is called an array. Arrays are used in computer programming to organize the same type of data. To declare an array, define the variable type with square brackets. Array can store the primitive datatypes such as int, char, double, and float. Array occupy […]
Read Morefinal keyword is used in different contexts. First of all, final is a non-access modifier applicable only to a variable, a method, or a class. The following are different contexts where final is used. Final Variable: When applied to a variable, the final keyword indicates that the variable’s value cannot be changed after it has been initialized. This is typically […]
Read MoreThis blog explains about Stream part 3 in java is given below : map(Function) map(List of Objects -> List of Objects) Example 2: It should be rewritten as below: limit() skip() total reduce() //Converting ArrayList to Array //Get max from an ArrayList Parallel Stream //ParallelStream //Sorting Based on Key: Alphabetical Order //anyMatch() anyMatch() //allMatch() //noneMatch()
Read MoreThis blog explains about Stream API in java is given below : Print Array values in Sorted Order: Note: Intermediate Operations are Lazy OperationsTerminal Operations are Eager Operations Find average of elements in an Array: Finding max of given Array: Finding minimum of given Array: Finding First value of given Array: Finding any value of […]
Read MoreThis blog explains about Method reference double colon operator in java is given below : Method Reference: :: Double Colon Operator: Short cut for Lambda Expressions:Code Readability:Compact. Arguments should match in interface method and our class method. We can use Method Reference for static and non-static methods.
Read MoreThis Blog explains about Java 8 – New Features – Functions, forEach, Consumer Interface. Demo_Impl.java Demo_Interface.Java Demo.java Consumer_Implementation.java Contract.Java Contract_Implementation
Read MoreThis Blog explains about Java 8 – New Features – default, static Methods in Interface, Predicates. Ticket booking. java Employee.java Contract.java Contract2.java
Read More