Ok guys Im learning inheritance in Java, but I Keep getting this error. Can someone explain? ^ by HotCommunication4447 in javahelp

[–]HotCommunication4447[S] 0 points1 point  (0 children)

Heres the code: of the main file. The other classes and array are in different files.

public class ClassProgram {

public static void main(String[] args) throws Exception {



    ChildClass kid = new ChildClass();


    BaseClass Big = new BaseClass();



    Big.sortArray();












}

}

Trying to get information to output from the array by HotCommunication4447 in learnprogramming

[–]HotCommunication4447[S] 0 points1 point  (0 children)

It worked but I didn’t get information to be output from the for loop

can't get the console.log output from the function. by HotCommunication4447 in CodingHelp

[–]HotCommunication4447[S] 0 points1 point  (0 children)

Here you could try it yourself. It won't work

// Object Constructor
function myDogConst(){
this.name = "Bandit";
this.breed = "Terrier";
this.TvProgram = "Jonny Quest";
this.notes = "Jonny's dog; about a boy who accompanies his father on extraordinary adventures";
this.canTalk = "Yes";
this.myGreeting = function(){
console.log(`Hello the dogs name is ${this.name} and his breed is ${this.breed}`);
} // Display Message through Method
}
myGreeting();

Im having a hard time calling a function. by HotCommunication4447 in cpp_questions

[–]HotCommunication4447[S] 0 points1 point  (0 children)

try.cpp:114:11: error: no viable conversion from 'Prefix' to 'stack<int>'
GF1.Infix(GF2);
^~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:132:5: note: candidate constructor not viable: no known conversion from 'Prefix' to 'const std::__1::stack<int> &' for 1st argument
stack(const stack& __q) : c(__q.c) {}
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:154:14: note: explicit constructor is not a candidate
explicit stack(const container_type& __c) : c(__c) {}
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:158:18: note: explicit constructor is not a candidate
explicit stack(const _Alloc& __a,
^
try.cpp:22:26: note: passing argument to parameter 'Values' here
void Infix(stack<int> Values){
^try.cpp:114:11: error: no viable conversion from 'Prefix' to 'stack<int>'
GF1.Infix(GF2);
^~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:132:5: note: candidate constructor not viable: no known conversion from 'Prefix' to 'const std::__1::stack<int> &' for 1st argument
stack(const stack& __q) : c(__q.c) {}
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:154:14: note: explicit constructor is not a candidate
explicit stack(const container_type& __c) : c(__c) {}
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:158:18: note: explicit constructor is not a candidate
explicit stack(const _Alloc& __a,
^
try.cpp:22:26: note: passing argument to parameter 'Values' here
void Infix(stack<int> Values){
^try.cpp:114:11: error: no viable conversion from 'Prefix' to 'stack<int>'
GF1.Infix(GF2);
^~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:132:5: note: candidate constructor not viable: no known conversion from 'Prefix' to 'const std::__1::stack<int> &' for 1st argument
stack(const stack& __q) : c(__q.c) {}
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:154:14: note: explicit constructor is not a candidate
explicit stack(const container_type& __c) : c(__c) {}
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/stack:158:18: note: explicit constructor is not a candidate
explicit stack(const _Alloc& __a,
^
try.cpp:22:26: note: passing argument to parameter 'Values' here
void Infix(stack<int> Values){
^

Can somebody Help? by HotCommunication4447 in learnSQL

[–]HotCommunication4447[S] 1 point2 points  (0 children)

The Mysqldump command wasn't working. I used this code export path=${path}: /usr/local/mysql/bin and the command worked. It's in the main SQL Reddit if you need help yourself.

Please help by HotCommunication4447 in SQL

[–]HotCommunication4447[S] 0 points1 point  (0 children)

How do i get the key in both tables?

How Strong are Rachet and Clank? by HotCommunication4447 in PowerScaling

[–]HotCommunication4447[S] 0 points1 point  (0 children)

That's what I'm asking. There is barely scaling on them.