Found 33676 Articles for Programming

Minimum Changes to string to make all substrings distinct

Rudradev Das
Updated on 05-Apr-2023 17:54:16

1K+ Views

A string is a particular object, which represents a sequence and flow of data characters. The strings are the data container which always represented as a text format. It also used to concept, compare, split, join, replace, trim, length, intern, equals, comparison, substring operation. A substring() is a data refining process, which extracts the saved data of between two positions from start to end. A substring () does not change the original string. In a data set when we have different characters, they can be denoted as distinct data elements. For example: 'a' and 'r' are distinct while 'r' ... Read More

Function to copy string (Iterative and Recursive)

Rudradev Das
Updated on 05-Apr-2023 17:52:51

597 Views

In a C++ environment, iteration statement is a compound or cause statement which can be executed zero or more than one at a time. This process is subjected to a loop termination process. The statement executes in a particular order when there is a presence of break statement or the continuation of a statement. There are four types of iteration present in C++ - While Do For Range-based for Every loops mentioned here iterates a particular condition until its termination. The expression evaluates as zero when the statement. The iteration statements can't be considered as declaration. In ... Read More

Transform a string such that it has abcd..z as a subsequence

Rudradev Das
Updated on 05-Apr-2023 17:51:10

187 Views

Transforming a string aka string transformation is an operation in C++ by which the result stores in an output array after the execution of the whole process. In C++ there is a function called "transform()", present in the directory of the C++ environment by which we can transform a string into a new one. There are two forms of this transform function − Unary operation Operation applies on the every element of the input array. After the operation being done the result will store in an output array. Binary operation Operation applies on each element ... Read More

Strong Password Suggester Program

Rudradev Das
Updated on 05-Apr-2023 17:16:05

743 Views

Every year on 7th May the worldwide organizations remind there users about the significance of a strong password. As per the tech giant Google; 24% of their end users have used the word "password" or "Qwerty" as their account password. While, only 34% from their total users change their account passwords in a frequent manner. In this tech-forward world today, every login attempt has a chance of a cyber criminal attack. But many people now a days still using the weak passwords for their professional and personal accounts. Here we will discuss and check, whether the created passwords ... Read More

How Will Java Be Supported in Chrome After Chrome Drops the NPAPI Support?

Mr. Satyabrata
Updated on 05-Apr-2023 16:09:37

295 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

How to Make Java Application Faster?

Mr. Satyabrata
Updated on 05-Apr-2023 16:08:49

319 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

How Should I Start to Learn Code with Java?

Mr. Satyabrata
Updated on 05-Apr-2023 16:07:53

382 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

Time Required in India to Learn Java Without Any Programming Knowledge?

Mr. Satyabrata
Updated on 05-Apr-2023 16:07:25

774 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

How Much Java is Better than C?

Mr. Satyabrata
Updated on 05-Apr-2023 16:06:54

517 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

How Can One Prepare to Clear Any Java Interview?

Mr. Satyabrata
Updated on 05-Apr-2023 16:04:43

208 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

Advertisements