• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

I am confused on this
{args)classimportjava.util.scanner;main(string[]outputwithvarspublicstaticvoid
0 Vote
1 Réponse
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 Réponses
6th Aug 2016, 2:04 AM
Wilson Bol
Wilson Bol - avatar
java learning
]{}amargs)classjava");learningmain(string[myclasspublicstaticsystem.out.println("ivoid
0 Vote
1 Réponse
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 Réponses
16th Aug 2016, 4:20 PM
Himanshu Mittal
Himanshu Mittal - avatar
< Précédent123Suivant >
Aujourd'hui en vedette
Can I import any module in python in this app?
1 Votes
Loops and conditions
2 Votes
GitHub account connecting issue
3 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
Any coding competitions?
1 Votes
Alguém Português por aqui?
0 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Rise of AI
1 Votes