Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
What is the difference between a method starting with static and one without static like:
classes
java
objects
0 Vote
1 Réponse
31st Jan 2017, 12:33 PM
Srijit Nair
Can anyone tell me the difference between static and dynamic memory allocation ?
c++
dynamic
memory
static
6 Votes
22 Réponses
27th May 2017, 7:03 PM
_laksh
Which do you write first eg static int() or the entry main statement.... Public static void main....
java
methods
0 Vote
3 Réponses
8th Feb 2017, 6:03 AM
Tochukwu
What are class and static methods in python?
oop
python
2 Votes
1 Réponse
19th Dec 2021, 3:54 AM
enzore
When we have to use static keyword ?
java
static
1 Vote
2 Réponses
5th Nov 2019, 1:49 PM
Meetesh
So a static class can't have constructor? and is necessary declare as static each class members?
static
-1 Vote
2 Réponses
25th Apr 2020, 8:01 AM
Marcelo Palma
Can someone explain me what does static do in java?
java
3 Votes
8 Réponses
16th Jul 2017, 9:32 PM
Janković Jelena
Asking about access modifiers in java!
static
1 Vote
8 Réponses
6th Dec 2021, 2:36 PM
Noname
Why main method is defined public static
java
main
methods
1 Vote
2 Réponses
18th Feb 2018, 11:58 AM
Ravi Kumar
Why do we declare static in main function?
java
1 Vote
2 Réponses
3rd Aug 2018, 1:35 PM
Nikhil Singh
What is the use of static class in java
java
6 Votes
1 Réponse
6th Feb 2018, 10:33 AM
Saksham Jain
Where to use public static void main
java
1 Vote
2 Réponses
9th Nov 2016, 4:05 PM
Kshitij Kumar
Differnce static and Dynamic in java class
java
0 Vote
1 Réponse
5th Mar 2020, 8:13 PM
Mohammad
how to call non static methods that are already in abstract class inside main class static method in java?
abstract
class
coding
java
methodcalling
non-static
programming
static
1 Vote
2 Réponses
1st Mar 2020, 6:36 AM
D ̲E ̲S ̲S ̲I ̲E ̲- ̲B ̲A ̲H ̲I ̲R ̲U ̲
Why main method is to be public and static always?
java
main
static
4 Votes
3 Réponses
3rd Aug 2016, 1:19 PM
Rohan Gupta
What happens if we put only static hello() and not static void hello() in any functions?
functions
java
javascript
methods
static
void
0 Vote
1 Réponse
17th Aug 2018, 6:06 AM
Jinyoongisaranghe
Where the static variable memory store's in Java...
heap
hottoday
java
jvm
memory
stack
static
1 Vote
1 Réponse
22nd Sep 2018, 9:14 AM
shayan aithal
What is the of use static in java?
java
1 Vote
2 Réponses
2nd Jun 2018, 3:19 PM
Russel Dungo
What are the differences between normal variable and static variable in function concept?
c
function
10 Votes
4 Réponses
2nd Jul 2019, 9:58 AM
Rajnish Kush
What is the use of static keyword ?
java
static
0 Vote
4 Réponses
26th Nov 2016, 11:07 AM
Suraj Anbhule
Static method cannot be overridden..but why here is overridden ?
java
overriding
4 Votes
4 Réponses
10th Aug 2018, 7:18 PM
De Vinci
I did not exactly get about this (public static void).?
comments
0 Vote
7 Réponses
24th Aug 2019, 9:54 AM
Jyoti Prasad Kurmi
Is there any difference between static variable and local variable ??
c++
9 Votes
5 Réponses
23rd Sep 2017, 3:46 AM
KARRI MOUNIKA
Is it true that if we create variables inside static method is also become static ?
also
become
inside
is
it
method
static
that
true
variables
0 Vote
2 Réponses
20th Dec 2016, 6:49 PM
Suprakash Pal
Memory of static data memeber of a class
c++
class
memory
objects
sizeof
static
0 Vote
2 Réponses
1st Jun 2018, 4:29 AM
Ketan Lalcheta
public class Solution { public static int number = 25;
game
java.
javascript
questions
xhtml
2 Votes
2 Réponses
7th Apr 2020, 7:03 AM
DEEpak
what is [] in public static void main(String [] args)?
dhaval
furia
1 Vote
8 Réponses
4th Jan 2017, 3:39 PM
Jestoni Zamora Macasohol
What are static and dynamic objects in C++?
c++
classes
0 Vote
2 Réponses
30th Jun 2018, 6:46 PM
Nikita Mishra
What does static in a method mean ??
c#
meaning
static
1 Vote
3 Réponses
4th Nov 2017, 3:19 PM
Ugur Kardas
why can't we call interface static method via subclass object??
error
interface
java
object
static
subclass
1 Vote
6 Réponses
2nd Aug 2019, 7:53 PM
salar vahidi
Can we use Static keyword in main block
java
2 Votes
2 Réponses
1st Mar 2018, 6:57 AM
chavan dipak dattatray
Static java beginner question(am i understanding correctly?)
java
static
0 Vote
2 Réponses
1st Dec 2017, 7:48 PM
oyl
Program using main method and static blocks
and
block
in
java
main
method
of
static
use
0 Vote
2 Réponses
25th Jul 2017, 4:14 PM
Prinkal
import java.util.Scanner; public class Program { public static void main(String[] args) { System.out.println("enter y
java
-4 Votes
13 Réponses
12th Jan 2022, 7:42 PM
ABHISHEK MANE
when does a static value change in c++?
c++
1 Vote
3 Réponses
20th Oct 2016, 2:22 PM
Lavnish
error: non-static variable introduction cannot be referenced from a static context!
java
methods
2 Votes
4 Réponses
11th Jun 2019, 2:41 AM
Reza
Can anyone please explain what is static in java?
java
static
1 Vote
3 Réponses
6th Sep 2019, 2:29 AM
Sanzid Sadman
What are the properties for static keyword, abstract, constructor?
java
5 Votes
2 Réponses
6th Jul 2017, 9:06 AM
Silambarasan T
Why jvm doesn't allow me to do calc between a static and a non static variable.
java
jvm
static
0 Vote
1 Réponse
25th Mar 2017, 7:42 PM
pranjal kumar
Why static method can not be overridden?
java
1 Vote
1 Réponse
23rd Mar 2018, 6:39 AM
Xyzishere
How to change static html page into dynamic page
html
2 Votes
4 Réponses
19th Apr 2017, 10:56 AM
Aniket Dhanak
What is the difference between static inner class and inner class?
java
1 Vote
7 Réponses
9th Apr 2020, 4:06 PM
Adham Empire
What is heap memory? Is it different than static one
static
3 Votes
2 Réponses
3rd Oct 2019, 9:32 AM
Keyur Chaudhari
public static void main(String[] args) is predefined method or user-defined?
java
1 Vote
7 Réponses
11th Nov 2016, 7:20 PM
Vaibhav Kharche
Does an object created under a static method also becomes static?
java
0 Vote
7 Réponses
6th Apr 2020, 8:49 PM
Sagar Gupta
why the main method in Java is always static ?
java
main
methods
static
3 Votes
5 Réponses
8th Sep 2016, 4:41 PM
Sambit Mohapatra
Why we use static keyword in main method?
c#
2 Votes
2 Réponses
8th Nov 2016, 10:10 AM
Faiyaz
Any good meaning of static and its uses?
java
static
0 Vote
2 Réponses
9th Aug 2018, 3:32 AM
Prince Verma
What is the use n application of Static variables in C?
.c
2 Votes
3 Réponses
3rd Mar 2019, 4:56 PM
Muhesh Kumar
Can we declare local variables in static function if no then how can we use them in static void main?
static
1 Vote
2 Réponses
21st Jun 2018, 9:13 AM
Mayur Bagul
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
8
9
10
...
23
Suivant >
Aujourd'hui en vedette
X velocity
2 Votes
And... Who is the staff then?
3 Votes
Files not linking in C++
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
1 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
Why Pro?
1 Votes
How to achieve "Sololearner" achievement?
0 Votes
Problem with Javascript
0 Votes