• Corsi
  • Compilatore di codice
  • Discuti
  • Prezzi
  • Squadre
Menu

Discussioni Q&A

I am confused on this
{args)classimportjava.util.scanner;main(string[]outputwithvarspublicstaticvoid
0 Voti
1 Risposta
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 Voti
3 Risposte
6th Aug 2016, 2:04 AM
Wilson Bol
Wilson Bol - avatar
java learning
]{}amargs)classjava");learningmain(string[myclasspublicstaticsystem.out.println("ivoid
0 Voti
1 Risposta
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 Risposte
16th Aug 2016, 4:20 PM
Himanshu Mittal
Himanshu Mittal - avatar
< Precedente123Successivo >
Popolare oggi
Why do I suck at C# it‘s Hard but i know C# is Hard but tooooo much😭
1 Votes
I need advice
1 Votes
What is Typecasting?
1 Votes
Stream
1 Votes
How to zoom in and out in sololearn for testing media quarries in css
0 Votes
Subscription
0 Votes
I need help on what to write as my first project
0 Votes
Make a app
0 Votes
Java Advanced Module
0 Votes
How Does DSA will help me with web development?
1 Votes