Fill in the blank to call the method "hello" from main? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Fill in the blank to call the method "hello" from main?

20th Feb 2017, 12:06 PM
sidi mohamed
18 Answers
+ 4
E. g. class MyClass { public static void main (String[] args) { hello (); } private static void hello (){ System.out.println ("hello"); } }
20th Feb 2017, 8:56 PM
Tashi N
Tashi N - avatar
+ 3
String and VAR.
1st Feb 2020, 9:13 PM
Willians Amaral
Willians Amaral - avatar
+ 1
What is the output of this code? list = [1, 1, 2, 3, 5, 8, 13] print(list[list[4]])
22nd May 2019, 7:26 AM
DEV RAJ
DEV RAJ - avatar
+ 1
It's done by using hello();
6th Apr 2021, 10:31 AM
Joseph S. Lablah, Jr
Joseph S. Lablah, Jr - avatar
0
no idea please help me with this answers it urgent important... Drag and drop from the options below to print "Hello". var; var = "Hello"; System.out.println( ); var String char Hello print
27th Apr 2019, 2:52 PM
Lulende Mtee Donat
0
Drag and drop from the options below to print "Hello". var; var = "Hello"; System.out.println( ); var String char Hello print which one is current please
27th Apr 2019, 2:54 PM
Lulende Mtee Donat
0
Drag and drop from the options below to print "Hello". var; var = "Hello"; System.out.println( ); var char print Hello String please which one is current?
30th Apr 2019, 10:18 AM
Lulende Mtee Donat
0
Drag and drop from the options below to print "Hello". var; var = "Hello"; System.out.println( ); var char print Hello String
30th Apr 2019, 10:20 AM
Lulende Mtee Donat
0
HELP ME
22nd May 2019, 7:27 AM
DEV RAJ
DEV RAJ - avatar
0
String var; var = "Hello"; System.out.println(var);
14th Jun 2019, 10:57 AM
Sagar Pundlik Balpande
Sagar Pundlik Balpande - avatar
0
Give anthor answer
9th Aug 2019, 4:08 PM
Divya Cheemaladinne
Divya Cheemaladinne - avatar
0
Give me in java as object form
9th Aug 2019, 4:10 PM
Divya Cheemaladinne
Divya Cheemaladinne - avatar
0
walang sagot??
2nd Sep 2019, 3:22 AM
kyrie candia
kyrie candia - avatar
0
1st Feb 2020, 9:18 PM
Willians Amaral
Willians Amaral - avatar
0
hello()
3rd Jul 2022, 7:15 AM
Antenhe Yimer
- 1
class MyClass { static void sayHello() { System.out.println("Hello World!"); } public static void main(String[ ] args) { sayHello(); } } // Outputs "Hello World!"
23rd Feb 2017, 9:40 AM
Al Montazer Mandong
- 1
Drag and drop from the options below to prototype the myPrint function in Sally class declaration.
31st May 2019, 5:36 AM
salahuddin ajjour
- 2
Class Hello world { Public static void main (String args[]) { System.out. println("Hello world"); } } //Out put Hello world
31st Oct 2017, 3:08 PM
Rakesh kumar
Rakesh kumar - avatar