25585 ex2 urce Packages lab6 ex2 10 * @author osama 11 LAB6 ex2.java 12 import java.io.*; 13 fname 14 import java.util.*; Test Packages 15 16 import java.io.File; Libraries 17 JDK 1.8 (Default) public class LAB6 ex2 { 18 Test Libraries 19 E EST121212 éparam args the command line arguments ethrows java.io.IOException 20 21 22 public static void main(String{] args)throws IOException # TODO COde applicatien logic nere T| variable declaration- 23 F 24 25 26 String fname=new String(): 28 29 Scanner inp=new Scanner(System.in);//Scanner object 30 31 Iname-args[0];//ReadEilaname frOm cmd- 32 33 while (Ename==null){ /I Elerame not gten in cmd Output Debugger Console x LAB6_ex2 (run) × run D Exception in thread "main" ava.lang.ArrayIndexOutOEBoundsERception:0 at labe ex2 LABE ex2 main(LABE ex2 java:31) C:Users\osama AppData Local NetBeans\Cache\8.2texecuter-snippets\zun.ml:53E Java returned: 1 BUILD FAILED (Eotal time 0 seconds) a S Output O Type here to search 1080- FULL HD
25585 ex2 urce Packages lab6 ex2 10 * @author osama 11 LAB6 ex2.java 12 import java.io.*; 13 fname 14 import java.util.*; Test Packages 15 16 import java.io.File; Libraries 17 JDK 1.8 (Default) public class LAB6 ex2 { 18 Test Libraries 19 E EST121212 éparam args the command line arguments ethrows java.io.IOException 20 21 22 public static void main(String{] args)throws IOException # TODO COde applicatien logic nere T| variable declaration- 23 F 24 25 26 String fname=new String(): 28 29 Scanner inp=new Scanner(System.in);//Scanner object 30 31 Iname-args[0];//ReadEilaname frOm cmd- 32 33 while (Ename==null){ /I Elerame not gten in cmd Output Debugger Console x LAB6_ex2 (run) × run D Exception in thread "main" ava.lang.ArrayIndexOutOEBoundsERception:0 at labe ex2 LABE ex2 main(LABE ex2 java:31) C:Users\osama AppData Local NetBeans\Cache\8.2texecuter-snippets\zun.ml:53E Java returned: 1 BUILD FAILED (Eotal time 0 seconds) a S Output O Type here to search 1080- FULL HD
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
How to solve this error?
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY