Courses
LoginStart now
Courses
LoginStart now

Q&A Discussions

I am confused on this
{args)classimportjava.util.scanner;main(string[]outputwithvarspublicstaticvoid
0 Votes
1 Answer
4th Sep 2019, 5:32 AM
chad
using System; namespace GoodProgrammerTest { class Program { static void Main(string[] args) { Console.Write("Enter Yes or No"); Console.Write( "Do you programme every day? : ") ; int answer = Console.ReadLine(); if (answer =="Yes") { Console.WriteLine( "You will be a good programmer"); } else { Console.WriteLine( "You will not be a good programmer"); } } } }
c#
2 Votes
3 Answers
6th Aug 2016, 2:04 AM
Wilson Bol
Wilson Bol - avatar
java learning
]{}amargs)classjava");learningmain(string[myclasspublicstaticsystem.out.println("ivoid
0 Votes
1 Answer
14th Apr 2020, 1:03 PM
Okoli Praise
Okoli Praise - avatar
public class Vehicle { int maxSpeed; int wheels; String color; double fuelCapacity; void horn() { System.out.println("Beep!"); } } class MyClass { public static void main(String[ ] args) { Vehicle v1 = new Vehicle(); Vehicle v2 = new Vehicle(); v1.color = "red"; v2.horn(); System.out.println(v1); } } Explain its outcome. I am unable to get the last line of outcome.
classesjava
-1 Vote
2 Answers
16th Aug 2016, 4:20 PM
Himanshu Mittal
Himanshu Mittal - avatar
< Previous123Next >
Hot today
Hofstadter a sequence code coach is not running
0 Votes
DSA doubt
1 Votes
Vote Code
1 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Input errors (python)
1 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
Without degree job
0 Votes
Data structure using C
0 Votes
How can I add gradient to the background
0 Votes
Html learn
1 Votes