Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Цены
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
How can the subclass override a concrete method of the superclass and declare it as abstract?
abstract
class
java
subclass
superclass
1 голос
2 ответов
7th Mar 2020, 11:13 AM
D ̲E ̲S ̲S ̲I ̲E ̲- ̲B ̲A ̲H ̲I ̲R ̲U ̲
Is it necessary to declare main method as static in java...what is the use of it...
comments
main,java,tutorial
0 голосов
2 ответов
24th Aug 2018, 6:10 AM
Pawan Bangar
I declare the function using parameter pointer (create array) but we run the programme to main function does work the array
function-arguments
pointers
0 голосов
11 ответов
16th Sep 2017, 12:46 PM
Vibeeshanan Vibee
Need help guys....if we declare a variable in any structure can we use those variables inside any fuction???
c
1 голос
5 ответов
4th Sep 2017, 2:12 AM
BuckyAlita
C++ question
11
c++
declare
variables
0 голосов
3 ответов
19th Oct 2018, 12:07 PM
Sabine Meijran-Prins
do we declare the objects when we want to use and out of the classes?
c++
class
classes
objects
oop
syntax
0 голосов
3 ответов
8th Oct 2016, 12:14 PM
Ayin GhaziMoradi
How can I declare a method with a new variable, which I then can use in my main?
java
methods
variables
0 голосов
6 ответов
7th Apr 2017, 4:52 PM
Xaver
I dont know price of labour but i need to declare a single double argument. Any ideas
double
variables
0 голосов
2 ответов
9th Dec 2019, 8:58 PM
Gareth Taylorhayward
Fill in the blanks to declare a variable, add 5 to it and print it's value >>>x=4 >>>X= _=5 >>>print___
python
0 голосов
4 ответов
20th Aug 2016, 5:15 PM
Breylon Estes
In while loop, why we first call the "System.out.prinlnt" and after declare the "x++" ?
java
loops
1 голос
2 ответов
28th Nov 2016, 12:03 PM
Megii
How to build a SQL statement using Different conditions like where condition and how to declare the data types?
sql
0 голосов
6 ответов
18th Nov 2018, 8:35 AM
Nikita
can anyone help me how to declare variable in python and assign value to a variable of particular data type
python
7 голосов
3 ответов
25th Sep 2016, 5:20 PM
Athul Joy
Can I set an variable to a value in my class, and declare it in int main?
c++
variables
0 голосов
3 ответов
23rd Jun 2019, 1:15 PM
Mythical Coding
Do we have to also put a variable after '*' sign to declare pointers?
c++
pointers
0 голосов
2 ответов
31st Mar 2017, 5:36 AM
Yash Singhal
what will happen if we declare instance of static classes? will it give compile time error or run time?
c#
2 голосов
5 ответов
10th Jul 2016, 2:46 PM
Souradip Das
Which other keywords are also used to declare the class other than class? A. struct B. union C. object D. both a & b
c++
classes
program
struct
0 голосов
4 ответов
20th Feb 2018, 9:06 AM
S.k. Raj
When we declare a variable private then why Java dont allow it to access from outside the class?
java
0 голосов
3 ответов
29th Apr 2020, 5:30 PM
parag sahu
Why do we need to declare our variables, members or classes as static or const ?
c#
static
0 голосов
3 ответов
1st Jul 2017, 5:14 PM
Haider Ali
How do i declare a variable that only returns the absolute of any value it receives?
c++
0 голосов
3 ответов
19th Jan 2017, 6:01 PM
Cody Arthur
Why do we need a constructor for our class instead of declare variable or just put parameters into class and using that all?
class
constructors
python
0 голосов
10 ответов
27th Apr 2020, 8:27 AM
SwingsNFI
Can we first declare a string and then use 'startwith' and 'endwith' function on this string?If not, why?
sololearn
2 голосов
2 ответов
10th Jun 2020, 11:13 AM
Vasudev Dubey
When We declare a variable why do we get different value if we add 0's in the beginning?
javascript
variables
4 голосов
2 ответов
9th Dec 2016, 3:10 PM
Anindya
Hi... M trying to declare and call a method. What am I missing here?
method
1 голос
1 ответ
1st Mar 2017, 5:22 AM
Ricardo Chitagu
Does 'Exception e' declare an object 'e' of type Exception as a parameter, or is it syntax simply meaning 'all exceptions'?
exceptions
java
2 голосов
7 ответов
12th Jan 2016, 10:43 PM
Alex Greidinger
It is necessary to declare size of array?how much memory is allocated if size isnt declared?
array
cpp
linkedlist
0 голосов
3 ответов
19th Jan 2017, 5:28 AM
Suhas Patil
Fill in the blanks to declare a variable, add 5 to it and print its value.
python
0 голосов
1 ответ
12th Feb 2018, 9:56 AM
Kawser Hamid
Why do we use abstract method when we can directly declare normally.i cant see the difference
abstract-classes
0 голосов
2 ответов
12th Feb 2019, 11:30 PM
chanukya mahidhar
If "var" is a reserved word why then should it be used to declare a variable? plsss $ome help
javascript
variables
1 голос
5 ответов
11th Sep 2016, 10:53 PM
Petersburg IK
1.Can we declare global variables and use it all functions in C ? 2.Can we display a message outside main() in C-language?
basic
c
1 голос
6 ответов
19th Mar 2022, 11:46 AM
Md Saif Ali
I don't know why I am Getting error in this? Error is " you must declare main class" and the variable is not defined.
code
error
java
2 голосов
8 ответов
31st Jul 2020, 8:52 AM
Mallika Gupta
How to initialize 5 strings of 3 characters ? don't want to declare 5 strings but one ?
c
langage
2 голосов
3 ответов
8th Jun 2017, 6:36 PM
Zineb Ab
why does case 2 yields error(error: 'ch' undeclared (first use in this function)). when its perfectly okey to declare 'i' inside
arrays
c
c_lang
characters
cpp
doubt
for_loop
loops
pointers
strings
1 голос
4 ответов
16th May 2022, 6:16 AM
blueshipswims
In the following program When i declare sum=a+b in third line befor cout the compiler gave to me a wrong answer.why?
c++
variables
0 голосов
8 ответов
24th Dec 2016, 8:25 PM
Hanif
Can I declare more variables of an array exceeding the maximum capacity of the array?
array
c++
variables
0 голосов
2 ответов
18th May 2017, 6:28 PM
Trijit sikdar
Array Size Java
arrays
declare
java
size
0 голосов
1 ответ
2nd Sep 2020, 11:55 AM
anshu kulshrestha
Fill in the blanks to declare a variable named "color" and assign the value 42 to it. The variable should not be changeable.
answer
me
please
1 голос
6 ответов
29th Apr 2023, 9:32 AM
yohanan esubalew
Consider this: a=Math.pow(b,c). Why can't I declare 'a' as integer? The program can run only when I change it to double.
beginner
java
power
0 голосов
5 ответов
26th Nov 2019, 11:35 AM
Addam
Fill in the blank to declare an integer variable and set its value to 5. (This is a Question)
datatypes
java
operators
-2 голосов
4 ответов
16th Oct 2016, 10:02 PM
Sathish Kumar
Reorder the code to declare a Queue of integers, add values 1 through 5 and print the contents of the Queue.
c
c#
c++
generics
order
0 голосов
2 ответов
8th Oct 2019, 10:54 AM
Atharva mali
Declare a template function, taking three arguments of type T. If the third argument is greater than the first, return the secon
c++
0 голосов
7 ответов
20th Oct 2016, 12:42 PM
anjanel macalaguim
How do you declare a string, variable, and integer in both C# and C++ ?
c#
0 голосов
1 ответ
9th Mar 2017, 8:53 PM
Jason Bourne
Fill in the blanks to declare a variable,add 5 to it and print its value
python
-4 голосов
2 ответов
13th May 2017, 10:32 AM
Nitin
Type in a code to declare variable b and assign a's value to b and print the output to screen
variables
0 голосов
3 ответов
18th Jul 2018, 4:53 PM
S.SAMEERA BEGUM
I can use some help on the even or odd practice. How does one declare an even to compare a random number to?
c++
else-statements
1 голос
5 ответов
14th Feb 2021, 8:20 AM
Michelle Davis
If you declare temporary variable in c++ program with while() loop. What does it mean, what is its assignment?
c++
0 голосов
2 ответов
26th Sep 2021, 9:09 AM
TeaserCode
Fill in the blank to declare a jagged array that contains 8 two dimensional array. int [ ] [ , ] a= new int [_][_];
c#
1 голос
4 ответов
29th Apr 2017, 12:36 PM
Saran Kumar
Can someone help me understand how to declare a boolean variable and how it can be used
realone
1 голос
1 ответ
23rd Apr 2020, 1:26 PM
RealOne
It's really recommended to declare var keyword? If I don't, it can affect the readability of the code?
variables
1 голос
2 ответов
19th Jan 2019, 1:39 AM
Unfair Society
In which scenarios , to use var keyword to declare a variable is the best option?
c#
variables
0 голосов
2 ответов
23rd Feb 2017, 1:22 PM
Rajan Trivedi
So a static class can't have constructor? and is necessary declare as static each class members?
static
-1 голос
2 ответов
25th Apr 2020, 8:01 AM
Marcelo Palma
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
8
9
10
...
12
Следующий >
Актуальное сегодня
Guys help please
1 Votes
Python question
2 Votes
Python
1 Votes
Are websites hackable?
1 Votes
C# and sql
1 Votes
Void functional void with bool function
0 Votes
What course to take for AI?
0 Votes
TICTACTOE
0 Votes
Error
0 Votes
What's an unsigned int?
0 Votes