• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

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
AI video creation
3 Votes
How to make a game code
1 Votes
How to add image and audio
1 Votes
About create tuples [Solved]
0 Votes
What is HelloWorld
1 Votes
Headless CMS
1 Votes
Can anyone fix for me this code
1 Votes
Missing]
0 Votes
HTML
0 Votes
How do you make Event listeners Minecraft Spigot plugin development
0 Votes