Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Programming Articles - Page 421 of 3363
321 Views
Java is a widely utilized & advanced programming language. It has been depended upon for additional web applications. However, because of safety considerations, Chrome has sloped support for the Netscape Plugin API (NPAPI), which has been used to sustain Java applets on web pages. This move by Chrome has raised worries among developers & users about the end of Java in Chrome. In this article, we will examine how Java will be supported in Chrome after the drop of NPAPI support. How Does NPAPI Help Java to Work on Chrome? NPAPI (Netscape Plugin API) is an application programming interface. It ... Read More
358 Views
Since more than 2 decades Java has been a popular language, and it’s been highly used by coder globally. By using Java Virtual Machine (JVM) and garbage collection mechanisms, Java used to be slow. However, after various updates the speed has been improved to some extent. Though there are some optimizing tricks that can make your Java program run faster, in this article we will talk about such tips and tricks. Need of Java Application Optimizer Java application optimization is needed to improve the performance of the application. This can include making the application run faster, using less memory, ... Read More
429 Views
Java is a high-level, object-oriented programming language that was developed by James Gosling at Sun Microsystems in the mid-1990s. It is a general-purpose language that is widely used for developing desktop, web, and mobile applications, as well as for building enterprise-level software solutions. One of the main features of Java is its platform independence, which means that Java code can be written once and run on any platform that supports Java, without the need for recompilation. This is made possible by the Java Virtual Machine (JVM), which interprets Java bytecode and executes it on different platforms. Java is known for ... Read More
823 Views
When we talk about an object-based and widely used programming language then Java is the first one that comes into any developer's mind. It is highly popular among software developers. Also, Java is platform-independent meaning it can work on any platform easily. This makes it more readable & maintainable. So generally, developers use it to develop complex projects. Here in this article, we solve the most asked query by people from India, as they wonder how much time it would take to learn Java without any programming background. Let's learn here; Learning Java as a Beginner For beginners learning Java ... Read More
599 Views
Java and C are two popular programming languages with different features, syntax & applications. For the first time, Java was introduced by Sun Microsystems in 1995 & operates on the Java Virtual Machine (JVM). C is a procedural programming language produced by Dennis Ritchie at Bell Labs in 1972. Both Java and C have their pros and cons. But here, we will explore how Java is better than C. Memory Management One of the notable distinctions between Java and C is in memory management. C uses manual memory management, which requires the programmer to allocate & deallocate memory explicitly. This ... Read More
252 Views
The significance of getting ready for a Java interview in today's hectic and cutthroat employment market cannot be emphasised. In order to decide whether you are a suitable fit for the position, an employer will assess your technical expertise, problem-solving skills, communication talents, and personality attributes during a Java interview. It takes a combination of technical expertise, practise, and self-assurance to become ready for a Java interview. In this essay, we'll give you the crucial pointers and direction you need to successfully prepare for a Java interview. Understanding the Java Interview Process There are often several rounds in the Java ... Read More
366 Views
Java is a popular programming language used by many people around the world. It has been an object-oriented programming language for more than 20 years, and its use has only increased. Whether you are currently familiar with Java or are interested in studying it, you may be asking how you might improve your proficiency with it. We'll provide you some pointers and advice in this article that will enable you to master Java. Paths Using an organised approach to learning is one of the greatest ways to develop your Java skills. You can learn Java in a variety of ... Read More
2K+ Views
In this Golang article, we will explore how to implement Dijkstra's Algorithm to find the shortest path between two nodes in a graph using an Adjacency Matrix as well as using an Adjacency List. Dijkstra's Algorithm is used to solve the single-source shortest path problem in a graph with non-negative edge weights. Algorithm Step 1 − First, we need to import the fmt and math packages. Then create a dist array of length n (the number of nodes in the graph) and initialize it with math.MaxInt32. This array will store the shortest distance from the starting node to every ... Read More
1K+ Views
In this Golang article, we will learn how to implement Merge Sort in Golang using three different methods recursions, iteration and goroutines. Merge sort is one of the most efficient sorting Algorithms that uses the divide and conquer approach to sort a list of elements. Syntax func copy(dst, str[] type) int The copy function in go language is used to copy the values of one source array to the destination array and returns the number of elements copied as the result. It takes the two arrays as an argument. func len(v Type) int The len() function is used ... Read More
Golang program to find shortest path between all pairs of nodes in a graph using dijikstra Algorithm
659 Views
In this golang program article, we are going to learn how to use a struct Edge to represent a weighted edge in the graph, and the dijkstra function takes the number of nodes n and a slice of Edge objects as input. It returns a two-dimensional slice representing the distance matrix between all pairs of nodes in the graph In this Golang article, we will explore how to implement Dijkstra's Algorithm in to find the shortest path between all pairs of nodes in a graph. Algorithm Step 1 − First, we need to import the fmt and math packages. ... Read More