Trending questions in Edureka Community

0 votes
0 answers

Php function returning associate array

How can I make a function return ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
418 views
0 votes
1 answer

C++ - Overloading vs Overriding in Inheritance

In C++, a derived class's method only overrides the base class's method if their declarations match (I say "match," but I'm not sure what the formal term is).  That is, all arguments must be of the same type, with the same const qualification.  If there are any mismatches, the derived class's method hides all methods with the same name rather than overriding.  This is what the "ERROR" in your image is attempting to convey.  So, in that image, / overrides in a comment is incorrect and misleading. Yes, many C++ instructors are unaware of these somewhat esoteric details. Furthermore, if you want to override, your base class's method must be virtual; otherwise, polymorphism will not work. . We could also say that the derived-class method hides the base-class method if it wasn't virtual.  The part about hiding, on the other hand, has almost no meaning here; what this term really means is that you're not in charge. Furthermore, overloading is the presence of multiple methods with the same name but different signatures, as you may have noticed. To be useful, they must all be present in the derived class; otherwise, they will be hidden if the derived class only has one method, fa1, and the other fa1 are in the base. There is, however, a syntax sugar that "copies" all fa1 from base to derived, removing all the hidden semantics: class A { public: void fa1(); ...READ MORE

Jun 7, 2022 in C++ by Damon
• 4,960 points
954 views
0 votes
0 answers

How do I use PHP to get the current year?

I want to put a copyright notice ...READ MORE

Jun 9, 2022 in PHP by Kichu
• 19,040 points
827 views
0 votes
0 answers

What is a jagged array?

In C#, what is a jagged array? ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
716 views
0 votes
0 answers

Creating default object from empty value in PHP?

I am getting this error after I ...READ MORE

Jun 10, 2022 in PHP by narikkadan
• 63,600 points
776 views
0 votes
0 answers

Dynamically generating a QR code with PHP

I want to generate QR codes on ...READ MORE

Jun 17, 2022 in PHP by narikkadan
• 63,600 points
479 views
0 votes
1 answer

When would you use delegates in C#

Delegates come in handy for a variety ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
702 views
0 votes
1 answer

Why should I avoid using Properties in C#?

Jeff dislikes properties because they resemble fields, ...READ MORE

Jun 7, 2022 in C# by rajiv
• 1,620 points
841 views
0 votes
0 answers

How to switch to devops from technical support with 7 years experience

Hi All, I am a production support analyst ...READ MORE

Jun 27, 2022 in DevOps & Agile by anonymous

edited Mar 4 43 views
0 votes
0 answers

How to write a PHP ternary operator

How can I write a PHP ternary operator ...READ MORE

Jun 14, 2022 in PHP by narikkadan
• 63,600 points
453 views
0 votes
1 answer

What is an index in SQL?

INDEX - find data easily UNIQUE INDEX - duplicate values are ...READ MORE

Jun 1, 2022 in Others by nisha
• 2,210 points
1,125 views
0 votes
0 answers

Escaping quotation marks in PHP

I am getting a parse error, and ...READ MORE

Jun 19, 2022 in PHP by narikkadan
• 63,600 points
376 views
0 votes
1 answer

What is the proper way to display a logo with CSS?

An <img> element is the proper way ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,700 points
888 views
0 votes
1 answer

Submit a form using jQuery

This method is a shortcut for .on( ...READ MORE

Jun 6, 2022 in JQuery by Edureka
• 13,690 points
879 views
0 votes
0 answers

laravel throwing MethodNotAllowedHttpException

 I wanted to create a login form ...READ MORE

May 17, 2022 in Others by Kichu
• 19,040 points
1,720 views
0 votes
0 answers

How to add elements to an empty array in PHP?

I define an array in PHP : $cart ...READ MORE

Jun 3, 2022 in PHP by Kichu
• 19,040 points
1,071 views
0 votes
1 answer

Nodejs instagram-web can't save login session locally

There are several things you can do: Dictionary ...READ MORE

May 27, 2022 in Node-js by Neha
• 9,020 points
1,306 views
0 votes
0 answers

Undefined index error PHP

I'm getting this error: Notice: Undefined index: productid ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,600 points
645 views
0 votes
1 answer

Simple linked list in C++

This is the most basic example I can think of in this situation, and it has not been tested.  Please keep in mind that this violates some C++ best practises and deviates from the norm (initialize lists, separation of declaration and definition, and so on).  But those aren't topics I can discuss here. #include <iostream> using namespace std; class LinkedList{ ...READ MORE

Jun 2, 2022 in C++ by Damon
• 4,960 points
1,050 views
0 votes
1 answer

Simple VB or C# questions for an interview

The difficulty with asking language-specific questions for ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
620 views
0 votes
0 answers

Open Contact information in Contact List using Phone Number of Contact Android Studio

I am making an app that has ...READ MORE

Jun 7, 2022 in Others by polo
• 1,480 points
876 views
0 votes
0 answers

What is .htaccess file?

 I want to know more about the .htaccess ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
503 views
0 votes
0 answers

Where are $_SESSION variables stored?

Are $_SESSION variables stored on the client ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
439 views
0 votes
1 answer

C++ - Decimal to binary converting

The.to string() function of std::bitset returns a std::string containing a binary text representation with leading-zero padding. Use std::bitset32> to get 32-character strings from 32-bit integers, or std::bitset32> to get 32-character strings from 32-bit integers. #include <iostream> #include <bitset> int main() { ...READ MORE

Jun 10, 2022 in C++ by Damon
• 4,960 points
696 views
0 votes
1 answer

How to enumerate an enum

foreach (Suit suit in (Suit[]) Enum.GetValues(typeof(Suit))) { } Note that ...READ MORE

Jun 14, 2022 in C# by jyoti
• 1,240 points
594 views
0 votes
0 answers

Compress existing PDF using C# programming using freeware libraries

I've been looking for ways to compress ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
692 views
0 votes
0 answers

Using v4l2loopback virtual cam with google-chrome or chromium on linux while having real webcam in use

(I hope posting an answer to own ...READ MORE

Apr 21, 2022 in Linux Administration by Edureka
• 13,690 points
2,728 views
0 votes
1 answer

Calculate the number of days between a cell and today in excel?

Excel Formula to Calculate Number of Days ...READ MORE

Jun 9, 2022 in JQuery by gaurav
• 23,260 points
750 views
0 votes
0 answers

How to create a JSON object

I want to create a JSON object ...READ MORE

Jun 16, 2022 in PHP by narikkadan
• 63,600 points
494 views
0 votes
1 answer

nbsp not working in CSS content tag

May be this could be the solution ...READ MORE

May 28, 2022 in CSS by Edureka
• 12,700 points
1,270 views
0 votes
1 answer

What does the '=>' syntax in C# mean

Here's a simple MSDN example. delegate int del(int ...READ MORE

Jun 14, 2022 in C# by krishna
• 2,820 points
587 views
0 votes
0 answers

What does the variable $this mean in PHP?

Can someone please explain how the variable ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,600 points
705 views
0 votes
0 answers

PHP: Split string

How do I split a string by ...READ MORE

Jun 12, 2022 in PHP by narikkadan
• 63,600 points
599 views
0 votes
1 answer

Constructor Overloading in C++

In your function Object() { [native code] }, Node(Game(),v); does not work as expected.  It simply creates a temporary without actually using it, and has no effect.  When control passes over the ;, it immediately destroys the temporary. Initializing the members in each function Object() { [native code] } is the correct way to go.  You could put their shared code in a private init() member function and call it from each function Object() { [native code] }, as shown below: class Foo { public: ...READ MORE

Jun 21, 2022 in C++ by Damon
• 4,960 points
538 views
0 votes
0 answers

Creating a generic method in C#

I'm attempting to integrate several comparable techniques ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
679 views
0 votes
0 answers

php-How to get date wise unique transaction number?

 was thinking of formatting it like this TYYYYMMDDNNNN ...READ MORE

May 27, 2022 in PHP by Kichu
• 19,040 points
617 views
0 votes
1 answer

Ordering by the order of values in a SQL IN() clause

Use MySQL FIND_IN_SET function: SELECT * ...READ MORE

Jun 6, 2022 in Others by nisha
• 2,210 points
846 views
0 votes
0 answers

Parameter must be an array or an object that implements Countable in phpmyadmin

I am getting this error message When ...READ MORE

Jun 11, 2022 in PHP by narikkadan
• 63,600 points
696 views
0 votes
0 answers

How can I fix 'android.os.NetworkOnMainThreadException'?

When I run the Android project for ...READ MORE

May 23, 2022 in Java by Kichu
• 19,040 points
1,513 views
0 votes
1 answer

Where are the source files on the Jquery.com website? I see no download link

Download Jquery by clicking on this link ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 23,260 points
699 views
0 votes
1 answer

What is the difference between C# and .NET?

C# is a programming language, and.NET refers ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
827 views
0 votes
1 answer

How do I center this form in css?

You can try form { ...READ MORE

Jun 10, 2022 in CSS by Edureka
• 12,700 points
851 views
0 votes
1 answer

Excel - Combine multiple columns into one column

In Excel, how can I concatenate (combine) ...READ MORE

Mar 30, 2022 in Database by gaurav
• 23,260 points
3,886 views
0 votes
1 answer

NodeJS express get request is not working on mobile

For your API call, try to add ...READ MORE

Jun 9, 2022 in Node-js by Neha
• 9,020 points
725 views
0 votes
1 answer

TypeError: 'tuple' object is not callable

Hi, @Prasanna, The “TypeError: ‘tuple’ object is not ...READ MORE

Nov 10, 2020 in Data Analytics by Gitika
• 65,770 points
25,619 views
0 votes
1 answer

Scroll to the top of the page using JavaScript?

The scrollTo() method of the window Interface ...READ MORE

Jun 10, 2022 in JQuery by gaurav
• 23,260 points
695 views
0 votes
1 answer

Datatypes in C#

You might be beginner I think. Go ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
716 views
0 votes
1 answer

PowerBI Click to Filter Visual Not Working in Service

Hi, I am facing the same issue- ...READ MORE

Aug 23, 2022 in Power BI by anonymous

edited Mar 5 1,192 views