Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
what are public and private functions??
c++
0 Votes
2 Answers
15th Aug 2016, 8:11 AM
Muhammad Arslan Shahid
What's the difference between protected and public ?
java#beginner
3 Votes
3 Answers
21st Mar 2018, 10:44 AM
rishabh
How many public class possible in one java file??
class
java
3 Votes
2 Answers
18th Feb 2019, 5:01 PM
Vipinkumar V. Mishra
Public static void main (String... args[])
core
java
1 Vote
1 Answer
4th Jun 2017, 11:07 AM
chetaN
Why do we use private public and protected in c++
c
c++
cpython
html5
java
python3
3 Votes
4 Answers
30th Jul 2021, 8:03 AM
Atul Chourasiya
public class Program { public static void main(String[] args) { int [ ] myArr = {6, 42, 3, 7}; int sum=0;
arrays
1 Vote
8 Answers
16th Mar 2018, 3:48 PM
Devansh Gupta
Fill in the blanks to create a method that returns the minimum of the two parameters. public int minFunc(int n1, int n2
java
1 Vote
9 Answers
22nd Mar 2017, 10:34 AM
Hashim Abdullah
import java.util.Scanner; public class Program { //your code goes here public static void bot(){ Scanner sc= new Scanne
kipkiruimutai
0 Votes
3 Answers
14th Jan 2023, 7:36 AM
KIPKIRUI Kelvin Mutai
public BufferedImage processImage(BufferedImage img){ int height =img.getHeight(); int width = img.getWidth();
w
0 Votes
16 Answers
30th May 2019, 11:43 AM
Stefano
What is main method is public
access-modifiers
-5 Votes
1 Answer
1st Jun 2022, 10:13 PM
Awadhut Bhagawan Yenkar
why using namespace public declaration ?
c
0 Votes
1 Answer
12th Jun 2017, 6:13 PM
Ratana Sean Chan
Is java categories by public or private
java
0 Votes
3 Answers
4th Jul 2017, 1:53 PM
shwetma gupta
The syntax is confusing abit public static void main(String[ ] args)
java
6 Votes
5 Answers
23rd Apr 2020, 7:52 AM
Alfred Juma
Is there any good site to learn hacking?
public
3 Votes
4 Answers
9th Apr 2018, 10:43 AM
m azim
public class Program { public static void main(String[] args) { int day = 5; switch(day) { case
tell
0 Votes
3 Answers
9th Aug 2017, 11:00 AM
Ramsha Iqbal
Saying private public and protected is useless?
private
protected
public
2 Votes
1 Answer
6th Mar 2018, 9:31 AM
Paul
What we mean by public and private in class
c++
1 Vote
5 Answers
9th Apr 2018, 3:03 PM
Khaled Akrimi
If i code can i public my game?
games
1 Vote
3 Answers
29th Jan 2019, 3:05 AM
Jayna
import java.util.*; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System
java
-3 Votes
3 Answers
14th Dec 2020, 4:56 PM
ABDULLAHI AMINU
public and private members of a class
c#
1 Vote
2 Answers
11th Oct 2016, 10:35 PM
Benedek Máté Tóth
Does it matter if I write: private static void... OR public static void...?
code
java
methods
1 Vote
15 Answers
10th Apr 2020, 11:56 AM
Yahel
why can't I use public before class sun?
code
java
1 Vote
2 Answers
5th Aug 2020, 10:19 AM
Ray
what is the difference between public and private class?
classes
java
2 Votes
6 Answers
12th Oct 2016, 4:48 PM
Nirmal Chandra Panda
public class main { public static void main(String[] args) { Scanner scan = new Scanner(System.in) ; System.ou
java
-1 Vote
2 Answers
13th Jun 2021, 9:38 PM
Musaif
Why main method is defined public static
java
main
methods
1 Vote
2 Answers
18th Feb 2018, 11:58 AM
Ravi Kumar
Which is correct public class xxx or class xxx
comments
1 Vote
2 Answers
7th Oct 2019, 3:38 AM
Naitik Jain
public class Program { public static void main(String[] args) { int x = 34; int y = ++x; int z = x+y
operators
1 Vote
5 Answers
30th Oct 2019, 9:09 PM
Daniel
Where to use public static void main
java
1 Vote
2 Answers
9th Nov 2016, 4:05 PM
Kshitij Kumar
How to use public class in notepad..
classes
java
1 Vote
2 Answers
27th Sep 2016, 7:55 PM
shashi
public class Program { public static void main(String[] args) { int arr[]= {5 ,1, 2,3}; System.out.println(bubbleso
bubble
sorting
0 Votes
1 Answer
16th Nov 2020, 8:56 PM
Asma Omer
Classes private and public access modifiers in c++
access-modifiers
c++
classes
sololearn
0 Votes
1 Answer
19th Dec 2020, 1:08 PM
Ayesha
public class Program { public static void main(String[] args) { int[ ] intArr = new int[5]; int[5]={1,2,3};
java
0 Votes
2 Answers
26th Jun 2017, 7:09 PM
gobiga rani
What does it mean public and class in c#!
unity
-1 Vote
5 Answers
15th Dec 2019, 10:16 PM
Rayen Touil
error: '{' expected public class ExampleProgram.java {
java
javascript
0 Votes
2 Answers
30th Aug 2016, 8:03 AM
זיו ציון
Fill in the blanks to create a method that returns the minimum of the two parameters. public int minFunc(int n1, int n2 ;
classes
java
objects
-1 Vote
8 Answers
4th Jul 2017, 8:08 AM
Walter Mugo
list
public
0 Votes
6 Answers
16th Apr 2020, 8:08 AM
PRIYANKA K
What do u mean by public and private members??
c++
classes
2 Votes
5 Answers
22nd Jan 2017, 6:08 AM
P.Sai Sumanth
Simple program example for private, public and protected class?
c#
variables
1 Vote
3 Answers
10th Nov 2018, 12:29 PM
Rajesh Kalki
Why main method is to be public and static always?
java
main
static
4 Votes
3 Answers
3rd Aug 2016, 1:19 PM
Rohan Gupta
main method() in java is always in public class.
java
mail
0 Votes
5 Answers
8th Jun 2018, 1:34 PM
harshit
What are private, public and protected access specifiers?
c++
java
php
ruby
1 Vote
3 Answers
7th Mar 2017, 6:34 PM
Abenezer Seleshi
Doesn't the public access specifier already allow derived classes?
c++
inheritance
protected
1 Vote
3 Answers
17th Mar 2020, 12:38 PM
Donovan Thompson
What is the bug of my code
public
1 Vote
2 Answers
12th Aug 2023, 9:08 AM
Aminu Sani
what is [] in public static void main(String [] args)?
dhaval
furia
1 Vote
8 Answers
4th Jan 2017, 3:39 PM
Jestoni Zamora Macasohol
How to design website in c++?
public
1 Vote
3 Answers
26th Dec 2020, 1:43 PM
Ashenafi Alkaso
Im confused at public and private statement c#
cs
csharp
help
newbie
programming
1 Vote
1 Answer
25th May 2019, 2:15 PM
Dharma Fattahul Winzi
How to use public private function in c++
c++
cout
0 Votes
2 Answers
7th Aug 2018, 5:57 PM
Ganesh Jadhav
public class Program { public static void main(String[] args) { int[ ][ ] sample = { {1, 2, 3}, {4, 5, 6} };
diy
0 Votes
6 Answers
16th Jul 2020, 10:26 AM
Saurav Menon
public class Program { public static void main(String[] args) { for(int x=2; x< 10; x=x*x) { System.out.
java
loops
0 Votes
2 Answers
19th Mar 2017, 6:50 AM
naveen roshan
What did i get wrong? public class printx { public static void main(String[] args) { int [] array = new int [10];
java
0 Votes
4 Answers
13th Aug 2019, 12:33 AM
DjCisse Samuel Tsok
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
3
4
5
...
12
Next >
Hot today
New code
1 Votes
Does anyone have the solution for this challenge?
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Why does coding take so long to learn
0 Votes
Solved Ai generated practice the last question
0 Votes
Hello Everyone
0 Votes
Solved# Survey data format in coding for data
0 Votes
How to add unordered lists in HTML.
0 Votes
What is the use of .kt classes in the React Native project
0 Votes
Solved #Relay race coding for unit 9 you are creating code for a relay race
0 Votes