Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
I need an explanation for 3,4,5 th rows. Whether it's a method or something. Can anyone please explain me clearly
static
1 Vote
1 Answer
13th Mar 2018, 4:38 AM
Marana Coder
Anyone explain me static keyword in java . All functions and uses. This make me confused a lot.
java
static
0 Votes
3 Answers
5th Jul 2024, 6:21 AM
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎
Can a class be static?
c++
class
java
static
11 Votes
13 Answers
5th Sep 2018, 10:17 AM
Byk
Is possible to run java program using static block but without using main function
java
2 Votes
3 Answers
30th Nov 2017, 2:09 PM
Deepan
What is the difference between a static and a dynamic web page ?
web
1 Vote
3 Answers
10th Aug 2017, 12:57 PM
Siphesihle Qhabalaka
How to connect two languages such as HTML and JS or HTML and CSS while making of static web page...
css
html
js
8 Votes
4 Answers
27th Feb 2019, 6:44 AM
Shourya
Is it necessary for interface variables to be static or final?
interfaces
java
0 Votes
2 Answers
14th May 2017, 3:06 PM
Gamer
What is the use of static variable in a java class?
java
static
0 Votes
2 Answers
8th Nov 2016, 12:41 AM
Raghunath S
Why non-static context can't be accessible from static context in java?
java
non-static
static
1 Vote
1 Answer
12th Apr 2017, 9:28 AM
Bhavesh Joshi
in c# static void main( string args[]) is not working why?
c#
0 Votes
2 Answers
2nd Jul 2016, 8:56 AM
soumit
What is the difference between static int a; and int a
int
static
0 Votes
2 Answers
5th Mar 2017, 3:52 PM
MOHAMMED SHABEER K
Number(wrapper class )by AutoBoxing.some one given me why this problem in case3 o/p is false : give clear information
static
0 Votes
2 Answers
25th Dec 2017, 7:45 AM
Meesala Harish
Can we write a java program without main() and by writing static block
for
java
1 Vote
3 Answers
31st Mar 2017, 6:40 PM
Deepak Ghodase
Why my answer is different in two condition How can anyone explain me?
c
static
0 Votes
4 Answers
28th Jan 2020, 3:44 PM
PRINCE KUMAR
What to do for single object is required | Static and singleton
c++
design_pattern
singleton
static
0 Votes
1 Answer
6th Feb 2021, 12:38 PM
Ketan Lalcheta
Java is dynamic program..but y we r using static functuon in programs?
comments
java
1 Vote
2 Answers
7th Nov 2016, 9:09 PM
Shaik Usman
Why doesn't the sum method in this section need static before it?
c#
methods
1 Vote
2 Answers
20th Jul 2016, 6:13 AM
Robert Jones
What is the difference between constant variable, function and static variable,function in c++?
c++
classes
0 Votes
1 Answer
20th Oct 2020, 12:45 PM
Soumojit Chowdhury
What is the use of static variables? I cannot understand the uses of it clearly.
c
functions
0 Votes
3 Answers
16th Dec 2019, 12:53 PM
SAzidsukc
Which language is this code belong to?
main
static
void
6 Votes
12 Answers
19th Oct 2017, 11:31 PM
YAKUBU IBRAHIM
Why can't I access static property/method using object reference but only class?
oop
php
static
0 Votes
1 Answer
16th Apr 2022, 5:55 AM
lokesh
how to calculate number of optimal clusters from a known clusters,
static
0 Votes
1 Answer
21st Sep 2022, 7:07 AM
Esra
If we can allocate dynamically the memory then why we use static memory?
arrays
linklist
1 Vote
1 Answer
26th Jul 2018, 7:43 PM
Aman Kumar
Why there is no semicolon at the end of the line static void main()
c#
output
2 Votes
3 Answers
1st Apr 2017, 5:47 AM
Rakesh Chandra Dash
public class program { public static void main(String[] args) { String firstName, lastName; firstName="Mahmudul"; lastNam
fault
1 Vote
5 Answers
28th Aug 2017, 11:20 AM
Mahmudul Hasan
it's possible to run javascript ES6 syntax on client browser to create a static web pages?
es6
javascript
0 Votes
7 Answers
17th Sep 2017, 3:56 PM
Tio Misbaqul Irawan
What is the differance if we make variable or method static in java?
java
2 Votes
2 Answers
24th Dec 2016, 5:40 AM
aya ahmed
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scann
switch
0 Votes
3 Answers
20th Sep 2022, 3:22 PM
Senthil
In the main functions signature , what does static stands for?
java
-1 Vote
2 Answers
3rd Sep 2017, 11:45 AM
yash songara
Math object doesn't need constructor then Math properties are static properties?
javascript
math
0 Votes
1 Answer
13th Jul 2016, 4:51 PM
Sergio Zemskov
What is the difference b/w static binding and member function overriding?
c++
inheritance
overriding
staticbinding
0 Votes
1 Answer
29th Dec 2018, 1:45 PM
Maleeha Khalid
What is static ? can anyone elaborate me with an example?
java
0 Votes
1 Answer
5th Sep 2016, 5:45 AM
Vishvapalsinh Paramar
Facebook Login Page
facebook
static
web
4 Votes
4 Answers
20th Jul 2017, 7:53 PM
Мг. Кнап🌠
What is the advantage of static function and where it will useful???
static
0 Votes
1 Answer
12th Mar 2017, 3:02 PM
Swamy Kanuri
class MyClass { public static void main(String[] args) {System.out.printIn("I am learning Java"); } }
java
0 Votes
2 Answers
8th Nov 2019, 2:19 PM
Fiamordzi Edzenam
class Myclass { public static void main(String []args){ System.out.println.("I'm learning java"); } }
i'm
where
wrong
0 Votes
3 Answers
16th Sep 2017, 3:51 PM
Parvinder Singh
What does it mean if a class is declared as static?
java
static
0 Votes
3 Answers
3rd Mar 2020, 12:25 PM
かんでん
Why This code has a compile error ?
java
static
0 Votes
4 Answers
23rd Mar 2020, 6:01 PM
samrat kundu
what is mean by static void() and Public static void (). what are the min functions of these two. please explain me so i can
java
methods
1 Vote
1 Answer
21st Sep 2016, 3:57 AM
rahul
In what situation do you need to declare a static constructor in a non-static class
c#
2 Votes
2 Answers
28th Aug 2021, 5:14 AM
Tim
Error: Main method not found in class Pozycja, please define the main method as: public static void main(String[] args) or a
java
0 Votes
11 Answers
5th Jan 2020, 9:34 PM
Ivan
My question is why void is used with main in public static void main(String ab[])?
java
2 Votes
4 Answers
21st Jun 2017, 2:59 PM
Shubham Agarwal
I tried running this code by writing the static int method first before the main method and it didn't work
oop
1 Vote
8 Answers
27th Apr 2020, 4:15 PM
Ifeanyichukwu Faith Udoka
import java.util.*; class Program { public static void main(String[] args) { int ch; float usd,inr;
java
0 Votes
5 Answers
28th Jun 2017, 2:17 PM
Rajan Khorasiya
Can anyone explain how this code is printing 5 ones?
c
static
0 Votes
3 Answers
3rd Feb 2020, 9:36 AM
Arshia
Can i have a static constructor and a regular constructor in the same class?
c#
static
0 Votes
4 Answers
2nd Jan 2017, 8:23 AM
Anonymous Beast
What happens.when we write "public static int main (String args [])" instead of "void main" in java
java
1 Vote
5 Answers
8th Jun 2019, 5:28 PM
Aadarsh Gupta
What is the output of below code
java
static
0 Votes
4 Answers
20th May 2020, 5:25 PM
Shabarish Kumar Elluru
What does it means : static {i = 5;} and which situation we use it??
instance
java
static
variables
4 Votes
1 Answer
20th Jul 2017, 9:07 AM
aziz
public class Hello World { public static void main(String [ ] args ) } { System.out.println ("Hello World");
help
2 Votes
8 Answers
21st Jan 2018, 5:15 PM
PRASHANT Mishra
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
14
15
16
...
23
Next >
Hot today
Functions in python
2 Votes
How to make a playground
1 Votes
For Mobile app
0 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
1 Votes
I need advice
0 Votes
Html 5 document question
1 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
Paint costs
1 Votes
Why this code fails even without data race
0 Votes
Learning Python - Question
1 Votes