Structure of JDK : Java 8 vs Java 9 java Core Java Java 8 by devs5003 - June 28, 2020February 18, 20240 Structure of JDK : Java 8 vs Java 9 Everyone working with Java technology uses JDK (Java Development Kit) software to develop & run the code. You can't write the code or develop an application in Java without installing the JDK software on your system. In this article, we will learn about the internal structure of JDK & compare the structures of Java 8 & Java 9. We have major changes in the structure of Java 9 as compared to older versions. Our title for this article will be "Structure of JDK : Java 8 vs Java 9" Let's discuss each component of JDK step by step: JDK Folder This folder is the root directory of our java software containing sub-folders bin, lib, include
Difference between Angular JS & Angular java by devs5003 - June 25, 2020April 10, 20230 Some people think that Angular is a short form of Angular JS but it is not at all. It is true that Angular JS & Angular both are used to develop front-end of application but both are not the same. In this blog we will understand Difference between Angular JS & Angular. What is Angular ? Angular is an open-source, cross-platform TypeScript based platform used to develop front-end(user interface) in web applications. It is completely re-created on AngularJS. Angular has OOP like features e.g. classes, datatypes, interfaces, inheritance, Lambda functions etc...as it’s a typescript based framework. To get idea about AngularJS please go through previous blog on Angular JS fundamentals. What is TypeScript ? TypeScript is an open-source scripting developed by Microsoft. It is
Why is Angular JS becoming so popular with Java Applications ? java by devs5003 - June 17, 2020April 10, 20232 Why is Angular JS becoming so popular with Java Applications ? In general, a java application has 3 layers, Presentation Layer, Service Layer & Data Layer. The service layer is the main part for a java developer where you spend most of the time in your development career. But without having a rich presentation an application can't be completed. Angular JS is known for the most popular framework for the front-end development of a web application & mobile application as well. We use angular JS in presentation layer to make application more attractive, responsive & user friendly. In this blog we will talk about 'Why is Angular JS becoming so popular with Java Applications ?' What is an Angular JS? Angular JS is
What are the components of Java Program java Core Java by devs5003 - June 1, 2020December 14, 20231 'What are the components of Java Program?' If you know the components of Java, you know almost everything in java to become an expert programmer. Knowledge of components makes your java learning curve faster and easy. If you go through the complete topic and apply the concepts explained, you will feel more comfortable & confident while writing the code. You will start visualizing the codes & implementations quickly. It will also help you to design a best quality application in java. Now let's talk about 'What are the components of Java Program?' What are the components of Java Program? If this term is new to you in Java, just think about terms part, element, section, piece, portion, segment, ingredient. All are synonyms of
Lambda Expression vs Anonymous Inner class java by devs5003 - May 24, 2020July 7, 20220 Use of Lambda Expression vs Anonymous Inner class Before going through the topic Lambda Expression vs Anonymous Inner class, we should have some glimpse on how these two look like. To proceed further we will have an example. Suppose we have to perform sorting on some set of Strings. For that we will take an array to given Strings, then we will implement the Comparator interface to sort them. First, we will implement it using anonymous inner class, then by using Lambda Expression in order to have clear picture on both. public class SortingTest { public static void main(String[] args) { String [] mobiles = {"Samsung", "Lenovo", "Xiaomi", "Oppo", "Apple", "Sony", "Blackberry"};
5 ways to create an object in java java Core Java by devs5003 - May 14, 2020June 3, 20223 As we know that creation of an object in java is a cost-effective affair. Therefore we should have knowledge of different ways to create Objects in java so that we can use a particular way in the given scenario to handle the situation in a better way. Here we will find out 5 ways to create an object in Java. Using new keyword : This way of creating object in Java is the most common way in all. Using newInstance() method of class 'Class' : You must be aware of the Reflection API in Java. However, under reflection API we have these classes 'Class' & 'Constructor'. Moreover, both classes have newInstance() method in it to create objects in Java. Therefore, we will see newInstance()
7 ways to print elements of a Collection in Java java Core Java by devs5003 - May 14, 2020November 25, 20250 In this article, we are going to learn 7 ways to print elements of a Collection in Java. However, I am sure that any java programmer will come across this situation multiple times while writing programs to develop any application/software. Especially while testing the program, printing of elements on console becomes a bit mandatory. Sometimes, it becomes confusing that which way we should choose to print the values of elements of the defined collection as per our requirement. I hope you will be able to tackle all the scenarios after going through this article accordingly. However, we will go step by step to get a hold on this topic. Let's consider a List as a Collection to demonstrate all the ways
Java with Blockchain (Cryptocurrency) java by devs5003 - May 2, 2020June 3, 20220 Java with Blockchain (Cryptocurrency) What Is a Blockchain ? A blockchain can be thought of as a decentralized, immutable data structure that undergoes state transitions that modify its state. State iterates with transactions or operations on the blockchain, the small print of which are written to the block— chain. These transactions are grouped into blocks, which are linked together, making up the blockchain.Much like the event log used in event sourcing, current state is derived by replaying the state transitions that have taken place previously. A blockchain is a distributed ledger technology (DLT), a term that has emerged for describing technologies like blockchain that provide decentralized storage of data. Development of Blockchain: A very brief history of Blockchain technology started with the cryptocurrency Bitcoin.
Skills for Java Developer java Developer Tools Microservices Spring Boot Spring Cloud by devs5003 - April 29, 2020February 29, 20240 Even with competition from new languages, the demand for Java developers also remains strong. In fact, Java is among the most in-demand programming languages on the job market, depending on whose numbers you look at. Java developers are reported to have the lowest career switch rate of any profession. It’s a great basis for a steady career. Let's first look at the list of basic Skills for Java Developer. List of Basic Skills for Java Developer However, this isn’t a complete list, below is a list at some of the basic skills needed to become a Java developer: Core Java with Java 8 new features (especially Lambda expression) Object-oriented programming (OOP) concepts and some common design patterns Abstract classes and interfaces Constructors
How to run a Java program in Windows 10+ ? Core Java java by devs5003 - April 28, 2020January 17, 20257 An essential target as a new learner of a programming language is running your first program. Java is a popular and flexible programming language known for its portability and wide range of applications. To run a Java program, we need to set up our development environment, write the code, and then execute it. In this article ''How to run a Java program in Windows 10+ ?'', we are going to discuss a summary of the complete steps involved in running our very first Java program. If you are going to learn/work on Java, your first step is to install java on your computer/laptop and check whether you have complete environment to start running your Java Programs or not. Here, we