All Questions
3
questions
0
votes
1
answer
129
views
How to read a file from nested jar at Linux?
Is there any way to read some files from a jar inside the "outer" jar with javap command?
for example, I want to read the a.class
A.jar
|----/lib/
|---B.jar
| ...
0
votes
0
answers
55
views
How to write scala jar executable by Java to fetch hostname of the machine?
I want to perform this activity in Scala and execute it with Java:
hostname -i
The scala code for this is:
import java.net._
object HostName {
def main(args: Array[String]){
val ...
0
votes
2
answers
284
views
How to get the signature of a method which is inside a Interface?
I have a class named Fruits. Inside the class there is a interface named Sour. Inside the Interface I have a method GetItems();
public class Fruits
{
----------------
----------------
...