• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu

F&A Diskussionen

I am confused on this
{args)classimportjava.util.scanner;main(string[]outputwithvarspublicstaticvoid
0 Stimmen
1 Antwort
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 Stimmen
3 Antworten
6th Aug 2016, 2:04 AM
Wilson Bol
Wilson Bol - avatar
java learning
]{}amargs)classjava");learningmain(string[myclasspublicstaticsystem.out.println("ivoid
0 Stimmen
1 Antwort
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 Stimme
2 Antworten
16th Aug 2016, 4:20 PM
Himanshu Mittal
Himanshu Mittal - avatar
< Vorherige123Weiter >
Heute heiß
overloading operators << >>
1 Votes
how does this code function?
1 Votes
.
1 Votes
Default constructor and default assignment operator
0 Votes
.
0 Votes
Wishkit alternative for android
1 Votes
Hi
0 Votes
My question is about python?
0 Votes
Issue in code
0 Votes
i need to learn Coding
0 Votes