Articles on Trending Technologies

Technical articles with clear explanations and examples

Java Program to Get Year from Date

Shiva Keerthi
Shiva Keerthi
Updated on 11-Apr-2023 4K+ Views

In our day to day life, there is a huge data being generated in this real world. Among the information generated, Dates are generally used for various things such as scheduling an appointment, planning for day-to-day activities. While working with dates in programming, extracting the year from a specific date can be a common task. We can extract the Year from a particular Date using different in-built functions in Java programming language. In this article we will be discussing different approaches for extracting year from a particular date. Example Input: "13-07-2000" Output: 2000 Example Input: "1997/07/13" Output: 1997 ...

Read More

How to create a header cell in a table using HTML5

Aman Gupta
Aman Gupta
Updated on 11-Apr-2023 462 Views

Overview A cell in a table is a convergence of two things, a row and a column. The header is the top row of the table whose columns contain a category name of what category the data will be in below cells. So as in this problem we are going to create a cell for header of a table, so for header cell the convergence of the table row that is “” and convergence of table header column that is “” will create a header cell for a table in HTML5. Syntax The syntax to create header cell in ...

Read More

How to create Grid icon using jQuery Mobile

Aman Gupta
Aman Gupta
Updated on 11-Apr-2023 427 Views

Overview The Grid icon in any web application can also be developed using jQuery Mobile, as the jQuery mobile icon library provides the benefit of many icons. So to create the jQuery Grid icon there are some pre-built classes by the jQuery icon library that can be used to create the grid icon. As we define the class name for any element in the bootstrap to create a component the same as it is we have to define the class in the HTML element which will create a grid icon. Approach To create a clickable grid icon button ...

Read More

How to Land an Internship in Machine Learning?

Mouri Roy
Mouri Roy
Updated on 11-Apr-2023 510 Views

Machine learning is an exciting field that is rapidly growing and providing promising career opportunities. Landing an internship in machine learning can be a great way to gain practical experience and build your skills. But landing an internship in Machine Learning as an undergraduate student is tough as most of the well-known companies like Google, Microsoft, Facebook, and Netflix are looking for Ph.D. students who have publications in prestigious journals. However, machine learning solutions are becoming increasingly popular in different industries. Most of the modern technologies like self-driving cars, voice assistants, AI chatbots, and recommendation systems are all powered by ...

Read More

How Google Uses Machine Learning?

Mouri Roy
Mouri Roy
Updated on 11-Apr-2023 1K+ Views

In the last five years, data scientists have created data-crunching machines by using cutting-edge methodologies. Various machine learning models have been developed that help resolve challenging situations in the real world. With the growth in technologies, various services related to the public and government sectors are getting over the internet. It makes the process fast and the reach of services increases rapidly among the citizens. Google is really making our life easy in every aspect. Whether it is from booking a taxi to finding a dentist near me, all these tasks can be done using the various services of Google. ...

Read More

Zumba: What it is, Health Benefits, and How to Get Started?

Bhaswati Mukherjee
Bhaswati Mukherjee
Updated on 11-Apr-2023 377 Views

Have you ever been puzzled about why your fitness or running program stalled after a week? Occasionally, you may be successful in latching on to it for a month or two. But what happens after that? As boredom sets in, it's hard to get the will to get up and start a new day. If you want to discover why Zumba is so good for you, read this blog. You tend to lose the mental strength to work out. This pessimism might cause you to become lazy, which is dangerous if you have diabetes. Zumba is the best way to ...

Read More

What is the Swift equivalent of respondsToSelector?

Nitin Aggarwal
Nitin Aggarwal
Updated on 11-Apr-2023 1K+ Views

In Swift, the equivalent of the Objective-C method respondsToSelector is the responds property of the NSObject class. To check if an object responds to a particular selector, you can use the responds(to:) method which is declared in the NSObjectProtocol. Here's the syntax − if objectName.responds(to: #selector(methodName)) { // do something if the object responds to methodName } else { // do something else if the object doesn't respond to methodName } In this syntax, objectName is the object that you want to check, and methodName is the selector that you want to check ...

Read More

Why is the Convenience Keyword Even Needed in Swift?

Nitin Aggarwal
Nitin Aggarwal
Updated on 11-Apr-2023 859 Views

In Swift, you can create an additional initializer to provide default values for the properties. You can use the convenience keyword to add this functionality. Let's look at some examples of how to use a convenience initializer in the Swift language. What is a convenience initializer in Swift? In Swift, a secondary initializer in a class that provides extra or alternative ways to create an instance of that class is marked with the convenience keyword. The initialization procedure is streamlined and made simpler, which makes it easier for the developer to deal with the class. The designated initializer of the ...

Read More

What\'s the equivalent of NSLocalizedString in Swift?

Nitin Aggarwal
Nitin Aggarwal
Updated on 11-Apr-2023 748 Views

In real iOS applications, you often need to support localization to ensure the app's accessibility around the world. By incorporating localization into your app, you can gain more users. In Swift, we use the NSLocalizedString function to create a localized string. What is localization? Localization is the process of allowing various language support in your apps. Instead of utilizing the software in a single language, it helps to create a more localized experience for users. Localization will be quite simple to integrate in your application. Apple offers a totally native method for integrating localization in your program.Syntax The syntax for ...

Read More

Swift: Pass an array by reference?

Nitin Aggarwal
Nitin Aggarwal
Updated on 11-Apr-2023 5K+ Views

In Swift, you can pass an array by reference in a function as an argument using inout keyword. In Swift, arrays are value types by default. In other words, they pass a value rather than a reference. If you pass an array to a function as an argument, it makes a copy and passes that copy to the function. First, let's understand what happens when we pass an array in a function as a value. func passByValue(_ array: [Int]) { array.append(100) } let numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] passByValue(numbers) ...

Read More
Showing 38541–38550 of 61,299 articles
Advertisements