6 years ago in Java Strings

import myLibrary.*;
public class ShowSomeClass
{
// code for the class...
}
What is the name of the java file containing this program?

[A] . myLibrary.java
[B] ShowSomeClass.java
[C] ShowSomeClass
[D] ShowSomeClass.class
Loading...
Next Question

Overall Stats

Attempted 559
Correct 240
Incorrect 131
Viewed 188

Answers

Guest
Guest
Youssef Aserrar
Youssef Aserrar - 6 days ago

Youssef Aserrar from Casablanca, Morocco is saying ShowSomeClass.java is correct answer

saliha rchid
saliha rchid - 1 week ago

saliha rchid from Casablanca, Morocco is saying ShowSomeClass.java is correct answer

rita elradi
rita elradi - 1 week ago

rita elradi from Casablanca, Morocco is saying ShowSomeClass is correct answer

Salah Eddine
Salah Eddine - 1 week ago

Salah Eddine from Casablanca, Morocco is saying ShowSomeClass.java is correct answer

Sudeep Koppula
Sudeep Koppula - 1 month ago

Sudeep Koppula is saying ShowSomeClass is correct answer

Related Questions

String is an________

  • [A] class
  • [B] Variable
  • [C] Array
  • [D] Data type

Which of the following statements are incorrect?

  • [A] String is a class
  • [B] Strings in java are mutable.
  • [C] Every string is an object of class String.
  • [D] Java defines a peer class of String, called StringBuffer, which allows string to be altered.

What will happen if you try to compile and run the following code ?
public class MyClass {

    public static void main(String arguments[]) { 

    }

    public void amethod(String[] arguments) { 

    }

}

  • [A] error Can't make static reference to void method.
  • [B] error method main not correct
  • [C] error array must include parameter
  • [D] amethod must be declared with String