অণুজীব

 

java-oop – programming-java – কুইজ মডেল টেস্ট অনুশীলন – 15

7884. all methods of interface are public and abstract

  1. FALSE
  2. TRUE
  3. Depends upon the compiler
  4. Depends upon the program

7885. Given this method in a class: public String toString() { StringBuffer buffer = new StringBuffer(); buffer.append(‘<‘); buffer.append(this.name); buffer.append(‘>’); return buffer.toString(); } Which statement is true?

  1. The programmer can replace StringBuffer with StringBuilder with no other changes.This code will perform poorly. For better performance
  2. the code should be rewritten: return “<” + this.name + “>”;This code is NOT thread-safe.
  3. This code will perform well and converting the code to use StringBuilder will not enhance the performance.

7886.

…..inheritance is achieved using interface in java

  1. hierarchical
  2. multilevel
  3. multiple
  4. single

আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।

Leave a Reply

স্যার, কিভাবে আপনাকে সাহায্য করতে পারি?

Click one of our representatives below

Customer Support
Customer Support

Syeda Nusrat

I am online

I am offline

Technical Support
Technical Support

Ariful Islam Aquib

I am online

I am offline