• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu

Q&A Discussões

I am confused on this
{args)classimportjava.util.scanner;main(string[]outputwithvarspublicstaticvoid
0 Voto
1 Resposta
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 Votos
3 Respostas
6th Aug 2016, 2:04 AM
Wilson Bol
Wilson Bol - avatar
java learning
]{}amargs)classjava");learningmain(string[myclasspublicstaticsystem.out.println("ivoid
0 Voto
1 Resposta
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 Voto
2 Respostas
16th Aug 2016, 4:20 PM
Himanshu Mittal
Himanshu Mittal - avatar
< Anterior123Próximo >
Quente hoje
What's wrong in my code?
4 Votes
App Development
1 Votes
GUI-Based Python code in Webpage
2 Votes
what languages should I learn to learn python
1 Votes
HTML
1 Votes
Is python better than javascript?
1 Votes
Introduction of html
0 Votes
Web Developer Job?
1 Votes
CSS or Tailwind
1 Votes
Russian
0 Votes