Bissoy.com
Login
Doctors
Medicines
MCQs
Q&A
Ask
Merit Test
Questions
Courses
Which of these is a legal definition of a method named examveda assuming it throws IOException, and returns void. Also assume that the method does not take any arguments. Select the one correct answer.?
void examveda() {} throws IOException
void examveda() throws IOException{}
void examveda() throw IOException{}
void examveda(void) throws IOException{}
examveda() throws IOException{}
LohaHridoy
0
Edit
10
views
2025-01-04 04:42
1
Answers
AhmedNazir
Answer: Option 2
Let'
0
Thanks
10
views
Answered
2022-09-01 13:21
Report
Edit
Call
Related Questions
How many objects will be created String a = new String("Examveda"); String b = new String("Examveda"); String c = "Examveda"; String d = "Examveda";?
1 Answers
6
Views
What will be the output class A{ static void method(){ System.out.println("Class A method"); } } class B extends A{ static void method(){ System.out.println("Class B method"); } } public class Test{ public static void main(String args[]){ A a = new B(); a.method(); } }?
1 Answers
5
Views
What will be the output interface A{ public void method(); } class One{ public void method(){ System.out.println("Class One method"); } } class Two extends One implements A{ public void method(){ System.out.println("Class Two method"); } } public class Test extends Two{ public static void main(String[] args){ A a = new Two(); a.method(); } }?
1 Answers
13
Views
What happens if the following program is compiled and executed interface MyInterface{ void display(); } interface MySubInterface extends MyInterface{ void display(); } public class Test implements MySubInterface{ public void display(){ System.out.print("Welcome to Examveda."); } public static void main(String args[]){ Test t = new Test(); t.display(); } }?
1 Answers
5
Views
What will be the output class Parent{ public void method(){ System.out.println("Hi i am parent"); } } public class Child extends Parent{ protected void method(){ System.out.println("Hi i am Child"); } public static void main(String args[]){ Child child = new Child(); child.method(); } }?
1 Answers
9
Views
What will be the result of compiling and executing the following program code class Vehicle{ public void printSound(){ System.out.print("vehicle"); } } class Car extends Vehicle{ public void printSound(){ System.out.print("car"); } } class Bike extends Vehicle{ public void printSound(){ System.out.print("bike"); } } public class Test{ public static void main(String[] args){ Vehicle v = new Car(); Bike b = (Bike) v; v.printSound(); b.printSound(); } }?
1 Answers
6
Views
What will be the result after the class Test execution class A{ public void doA(){ B b = new B(); b.dobB(); System.out.print("doA"); } } class B{ public void dobB(){ C c = new C(); c.doC(); System.out.print("doB"); } } class C{ public void doC(){ if(true) throw new NullPointerException(); System.out.print("doC"); } } public class Test{ public static void main(String args[]){ try{ A a = new A(); a.doA(); }catch(Exception ex){ System.out.print("error"); } } }?
1 Answers
9
Views
Directions : Following question consists of a statement followed by four arguments I, II, III and IV. You have to decide which of the arguments is a STRONG arguments and which is a WEAK Argument. Statement : Should there be reservation of jobs in the organizations in the private sector also as in the public sector undertakings in India Arguments : I. Yes. This would give more opportunities of development to the weaker sections of the society and thus help reduce the gap between the affluent and the downtrodden in India. II. No. The private sector does not get any government assistance and therefore they should not be saddled with such policies. III. No. Nowhere else in the world such a practice is being followed. IV. No. The management of the private sector undertaking would not agree to such compulsions.?
1 Answers
5
Views
Directions : Each of the following question consists of a statement followed by two arguments I and II. You have to decide which of the arguments is a STRONG arguments and which is a WEAK Argument. Statement : Should children be legally made responsible to take care of their parents during their old age Arguments : I. Yes. Such matter can only be solved by legal means. II. Yes. Only this will bring some relief to poor parents.?
1 Answers
4
Views
Directions : Following question consists of a statement followed by three arguments I, II and III . You have to decide which of the arguments is a STRONG arguments and which is a WEAK Argument. Statement : Should the public sector undertakings be kilo wed to adopt hire and fire policy Arguments : I. Yes. This will help the public sector undertakings to get rid of non-performing employees and reward the performing employees. II. No. This will give an unjust handle to the management and they may use it indiscriminately. III. Yes. This will help increase the level of efficiency of these organizations and these will become profitable establishments.?
1 Answers
5
Views
কোরআন
হাদিস
চাকুরি প্রস্তুতি
বিশ্ববিদ্যালয় ভর্তি
মেডিকেল SBA
12
এইচএসসি
10
এসএসসি
8
জেএসসি
এক্সাম দিয়ে মেধা যাচাই করুন
Job Preparation (1125)
Admission (754)
এসএসসি (10)
এইচএসসি (5)
Login Required
You need to log in to continue.
Login
Cancel
Download Required
You need to download the app to make a call.
Download
Cancel